[c] re-create tag var in publish container task
All checks were successful
Build and push docker image / deploy (push) Successful in 42s
All checks were successful
Build and push docker image / deploy (push) Successful in 42s
This commit is contained in:
parent
1bc627e890
commit
88950724c9
1 changed files with 1 additions and 2 deletions
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue