fix: Update docker build
Some checks failed
PUBLISH_IMAGE / Publish 'waka-readme-stats' image (push) Has been cancelled
CODESTYLE / Run codestyle check (push) Successful in 26s

This commit is contained in:
2024-11-03 20:43:38 -05:00
parent 21ab52802b
commit 522abb4492

View File

@@ -5,7 +5,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
publish-server-image:
@@ -39,7 +39,7 @@ jobs:
- name: Build and push Docker image 🏗️
uses: https://github.com/docker/build-push-action@v4
with:
push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/releases') }}
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/releases') }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha