diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index 287cc6a6..e16dc783 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -3,7 +3,6 @@ on: push: branches: - main - - db/multi-platform-docker tags: - "*" @@ -33,8 +32,6 @@ jobs: ts=$(date +%s%N | cut -b1-13) if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then echo "base_tag=${{ steps.git_sha.outputs.sha_short }}-${ts}" >> $GITHUB_OUTPUT - elif [[ "${{ github.ref }}" == "refs/heads/db/multi-platform-docker" ]]; then - echo "base_tag=${{ steps.git_sha.outputs.sha_short }}-${ts}" >> $GITHUB_OUTPUT elif [[ "${{ github.ref }}" == refs/tags/* ]]; then echo "base_tag=$(echo ${GITHUB_REF#refs/tags/})" >> $GITHUB_OUTPUT elif [[ "${{ github.event_name }}" == "pull_request" ]]; then @@ -70,7 +67,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - push: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/db/multi-platform-docker' || startsWith(github.ref, 'refs/tags/')) }} + push: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) }} platforms: ${{ env.PLATFORMS }} cache-from: type=gha cache-to: type=gha,mode=max