Automated building and deployment process with Docker #2
1 changed files with 2 additions and 0 deletions
|
@ -34,9 +34,11 @@ jobs:
|
||||||
export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
|
export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
|
||||||
# build the container
|
# build the container
|
||||||
just -f /workspace/sangelo/website/Justfile build "${TAG}"
|
just -f /workspace/sangelo/website/Justfile build "${TAG}"
|
||||||
|
echo "$TAG"
|
||||||
|
|
||||||
- name: 🐳 Publish Container
|
- name: 🐳 Publish Container
|
||||||
run: |
|
run: |
|
||||||
|
echo "$TAG"
|
||||||
echo "${{ secrets.PUBLISH_TOKEN }}" | docker login gitpot.dev -u sangelo --password-stdin
|
echo "${{ secrets.PUBLISH_TOKEN }}" | docker login gitpot.dev -u sangelo --password-stdin
|
||||||
docker push "gitpot.dev/sangelo/website:${TAG}"
|
docker push "gitpot.dev/sangelo/website:${TAG}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue