You've already forked wakapi-readme-stats
fix: Update docker build
This commit is contained in:
4
.github/workflows/build_image.yml
vendored
4
.github/workflows/build_image.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user