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 7a0086e commit 92f54e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ jobs:
docker image ls
TAG_NAME=$(grep -oP '(?<=## \[)[^\]]+' CHANGELOG.md | head -n 1)
VERSION=v$TAG_NAME
echo "${VERSION}$(echo ${{ github.sha }})" > version.txt
echo "VERSION=${VERSION}$(echo ${{ github.sha }})" >> $GITHUB_ENV
docker tag napse_dtk_prod_litestream ghcr.io/${{ github.repository }}/napse_dtk_prod_litestream:$(cat version.txt)
docker tag napse_dtk_prod_django ghcr.io/${{ github.repository }}/napse_dtk_prod_django:$(cat version.txt)
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
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}/napse_dtk_prod_litestream:$(cat version.txt)
tags: ghcr.io/${{ github.repository }}/napse_dtk_prod_litestream:$VERSION

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

0 comments on commit 92f54e2

Please sign in to comment.