Skip to content

Commit

Permalink
#192 fix ghcr registry name
Browse files Browse the repository at this point in the history
  • Loading branch information
tarbaev-vl committed Oct 6, 2024
1 parent 464d9db commit 8553c46
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
python-version: 'pypy3.10'
cmd-name: 'greenmask'
docker-io-registry: greenmask
docker-ghcr-registry: greenmaskio
docker-image-name: greenmask

jobs:
Expand Down Expand Up @@ -154,7 +155,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get Git tag
Expand All @@ -168,7 +169,9 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.docker-io-registry }}/${{ env.docker-image-name }}:${{ env.TAG }},ghcr.io/${{ github.repository }}:${{ env.TAG }}
tags: |
${{ env.docker-io-registry }}/${{ env.docker-image-name }}:${{ env.TAG }}
ghcr.io/${{ env.docker-ghcr-registry }}/${{ env.docker-image-name }}:${{ env.TAG }}
- name: Build docker imaget with latest tag and push
uses: docker/build-push-action@v5
Expand All @@ -183,7 +186,9 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.docker-io-registry }}/${{ env.docker-image-name }}:latest,ghcr.io/${{ github.repository }}:latest
tags: |
${{ env.docker-io-registry }}/${{ env.docker-image-name }}:latest
ghcr.io/${{ env.docker-ghcr-registry }}/${{ env.docker-image-name }}:latest
deploy-docs:
runs-on: self-hosted
Expand Down

0 comments on commit 8553c46

Please sign in to comment.