Skip to content

Commit

Permalink
Expression changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Richter committed Sep 25, 2024
1 parent 5704f74 commit 4b9fb3f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- master
- main
tags:
- 'v*'
pull_request:
branches:
- master
- main
tags:
- 'v*'
schedule:
Expand Down Expand Up @@ -36,15 +38,15 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker images (master -> latest)
uses: docker/build-push-action@v6.7.0
#if: github.ref_name == 'master'
if: ${{ github.ref_name == 'master' || github.ref_name == 'main' }}
with:
pull: true
push: true
context: .
tags: ${{ secrets.DOCKERHUB_USERNAME }}/postfixadmin:latest
- name: Build and push Docker images (tag + master -> latest)
uses: docker/build-push-action@v6.7.0
#if: github.ref_name != 'master'
if: ${{ github.ref_name != 'master' && github.ref_name != 'main' }}
with:
pull: true
push: true
Expand Down

0 comments on commit 4b9fb3f

Please sign in to comment.