Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Don-Swanson authored Nov 24, 2023
1 parent d39d02f commit a1e361c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ name: Docker

on:
schedule:
- cron: '27 4 * * *'
- cron: '27 4 * * 1'
push:
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' , 'latest']
tags: [ 'latest', 'v*.*.*']
pull_request:
branches: [ "main" ]
branches: [ "main"]
tags: [ 'latest', 'v*.*.*']

env:
# Use docker.io for Docker Hub if empty
Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit a1e361c

Please sign in to comment.