Revert "Fix Gitea action Docker build tag error"

This reverts commit 7be9f5a869.
This commit is contained in:
Connor Johnstone
2025-09-02 12:33:17 -04:00
parent 7be9f5a869
commit 7b06fef6c3

View File

@@ -16,7 +16,6 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Login to Docker Registry
if: ${{ secrets.DOCKER_REGISTRY && secrets.DOCKER_USERNAME && secrets.DOCKER_PASSWORD }}
uses: docker/login-action@v3
with:
registry: ${{ secrets.DOCKER_REGISTRY }}
@@ -27,9 +26,9 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
push: ${{ secrets.DOCKER_REGISTRY != '' }}
push: true
tags: |
${{ secrets.DOCKER_REGISTRY || 'localhost:5000' }}/runway:latest
${{ secrets.DOCKER_REGISTRY || 'localhost:5000' }}/runway:${{ github.sha }}
${{ secrets.DOCKER_REGISTRY }}/calendar:latest
${{ secrets.DOCKER_REGISTRY }}/calendar:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max