Automated building and deployment process with Docker #2

Merged
sangelo merged 20 commits from docker into main 2024-04-03 12:10:51 +00:00
Showing only changes of commit 88950724c9 - Show all commits

View file

@ -34,11 +34,10 @@ 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" export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
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}"