[c] re-create tag var in publish container task
All checks were successful
Build and push docker image / deploy (push) Successful in 42s

This commit is contained in:
Sangelo 2024-04-03 12:43:07 +02:00
parent 1bc627e890
commit 88950724c9

View file

@ -34,11 +34,10 @@ jobs:
export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
# build the container
just -f /workspace/sangelo/website/Justfile build "${TAG}"
echo "$TAG"
- name: 🐳 Publish Container
run: |
echo "$TAG"
export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
echo "${{ secrets.PUBLISH_TOKEN }}" | docker login gitpot.dev -u sangelo --password-stdin
docker push "gitpot.dev/sangelo/website:${TAG}"