Skip to content

Commit 6c67e25

Browse files
committed
Dockerize#24
1 parent 2deb781 commit 6c67e25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Validate
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "main", "push" ]
66
pull_request: {} # run for all pull requests targeting any branch
77

88
permissions:
@@ -50,10 +50,10 @@ jobs:
5050
tags: |
5151
# latest tag for the default branch:
5252
type=raw,value=latest,enable={{is_default_branch}}
53-
- name: ${{ github.ref == 'refs/heads/main' && 'Build and Push Docker image' || 'Build Docker image' }}
53+
- name: ${{ github.ref == 'refs/heads/24-dockerize-3' && 'Build and Push Docker image' || 'Build Docker image' }}
5454
uses: docker/build-push-action@v5
5555
with:
56-
push: ${{ github.ref == 'refs/heads/main'}}
56+
push: ${{ github.ref == 'refs/heads/24-dockerize-3'}}
5757
tags: ${{ steps.docker-metadata.outputs.tags }}
5858
labels: ${{ steps.docker-metadata.outputs.labels }}
5959
cache-from: type=gha

0 commit comments

Comments
 (0)