Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom JEANNESSON committed Jan 2, 2024
1 parent 42babb4 commit 9a96aa3
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,9 @@ jobs:
docker image ls
TAG_NAME=$(grep -oP '(?<=## \[)[^\]]+' CHANGELOG.md | head -n 1)
VERSION=v$TAG_NAME
echo "VERSION=${VERSION}$(echo ${{ github.sha }})" >> $GITHUB_ENV
docker tag napse_dtk_prod_litestream ghcr.io/${{ github.repository }}/napse_dtk_prod_litestream:$VERSION
docker tag napse_dtk_prod_django ghcr.io/${{ github.repository }}/napse_dtk_prod_django:$VERSION
- name: Push LiteStream image
uses: docker/build-push-action@v2
env:
VERSION: ${{ env.VERSION }}
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}/napse_dtk_prod_litestream:${{ env.VERSION }}

- name: Push Django image
uses: docker/build-push-action@v2
env:
VERSION: ${{ env.VERSION }}
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}/napse_dtk_prod_django:${{ env.VERSION }}
docker push ghcr.io/${{ github.repository }}/napse_dtk_prod_litestream:$VERSION
docker push ghcr.io/${{ github.repository }}/napse_dtk_prod_django:$VERSION

0 comments on commit 9a96aa3

Please sign in to comment.