Skip to content

Commit

Permalink
Fixed docker build step for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ckulka committed Apr 20, 2024
1 parent 50f44fa commit 04e4ec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

# Build Apache httpd images
- name: Build and push experimental image
if: github.event_name == 'push'
# See https://github.com/docker/build-push-action
- name: Build and push image
uses: docker/build-push-action@v2
with:
file: ${{ inputs.dockerfile }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
types:
- published

workflow_dispatch:

jobs:
parse_release_tag:
if: github.event_name == 'release'
Expand Down

0 comments on commit 04e4ec2

Please sign in to comment.