Skip to content

Commit

Permalink
forget envs
Browse files Browse the repository at this point in the history
  • Loading branch information
sfxworks committed May 16, 2024
1 parent 077f30d commit 98ba626
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ jobs:
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ghcr.io/redhatproductsecurity/licensescanner

- name: Build and push Docker image
id: push
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-name: ghcr.io/redhatproductsecurity/licensescanner
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

Expand Down

0 comments on commit 98ba626

Please sign in to comment.