Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
python-version: ['3.9', '3.12']
Expand Down Expand Up @@ -42,9 +45,6 @@ jobs:

- name: Build and push Docker image
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && matrix.python-version == '3.12'
env:
GHCR_USERNAME: ${{ secrets.GHCR_USERNAME }}
GHCR_PASSWORD: ${{ secrets.GHCR_PASSWORD }}
run: |
echo "Starting Docker deployment to GHCR for sigprofilersuite..."

Expand All @@ -56,7 +56,7 @@ jobs:

echo "Building version: $VERSION_TAG for image: $IMAGE_NAME"

echo "$GHCR_PASSWORD" | docker login ghcr.io -u "$GHCR_USERNAME" --password-stdin
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin

docker build \
--build-arg COMMIT_SHA=${{ github.sha }} \
Expand Down