Skip to content

Commit

Permalink
Merge pull request #205 from GreenmaskIO/feature/docker-images-to-ghc…
Browse files Browse the repository at this point in the history
…r-io
  • Loading branch information
wwoytenko authored Oct 6, 2024
2 parents 559b7f1 + 8553c46 commit 3378525
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 3378525

Please sign in to comment.