Skip to content

Commit

Permalink
CI updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Aug 10, 2022
1 parent c48d057 commit 154e2da
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Expand Up @@ -23,22 +23,22 @@ jobs:

- {uses: gacts/github-slug@v1, id: slug} # Action page: <https://github.com/gacts/github-slug>

- uses: docker/build-push-action@v3 # Action page: <https://github.com/docker/build-push-action>
- uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
build-args: 'LOCALE=en'
tags: |
ghcr.io/${{ github.actor }}/rssbot:latest
ghcr.io/${{ github.actor }}/rssbot:${{ steps.slug.outputs.version-semantic }}-en
build-args: 'LOCALE=zh'
tags: ghcr.io/${{ github.actor }}/rssbot:${{ steps.slug.outputs.version-semantic }}-zn

- uses: docker/build-push-action@v3
- uses: docker/build-push-action@v3 # Action page: <https://github.com/docker/build-push-action>
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
build-args: 'LOCALE=zh'
tags: ghcr.io/${{ github.actor }}/rssbot:${{ steps.slug.outputs.version-semantic }}-zn
build-args: 'LOCALE=en'
tags: |
ghcr.io/${{ github.actor }}/rssbot:latest
ghcr.io/${{ github.actor }}/rssbot:${{ steps.slug.outputs.version-semantic }}-en

0 comments on commit 154e2da

Please sign in to comment.