Skip to content

Commit

Permalink
feat(ci): use harbor registry for push
Browse files Browse the repository at this point in the history
Signed-off-by: iverly <[email protected]>
  • Loading branch information
iverly committed Apr 19, 2024
1 parent 7ce6b15 commit eb99d2b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}

- name: Generate temporary signing key
uses: chainguard-dev/actions/melange-keygen@main
Expand All @@ -71,9 +71,9 @@ jobs:
apko-image: ghcr.io/wolfi-dev/apko:latest
config: ${{ github.workspace }}/apps/${{ matrix.app }}/apko.yaml
keyring-append: ${{ github.workspace }}/melange.rsa.pub
tag: ghcr.io/${{ github.repository }}/${{ matrix.app }}:${{ steps.vars.outputs.sha_short }}
generic-user: ${{ github.actor }}
generic-pass: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ secrets.DOCKER_REGISTRY_URL }}/${{ github.repository }}/${{ matrix.app }}:${{ steps.vars.outputs.sha_short }}
generic-user: ${{ secrets.DOCKER_REGISTRY_USER }}
generic-pass: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}

- name: Sign the images with GitHub OIDC Token
run: |
Expand Down

0 comments on commit eb99d2b

Please sign in to comment.