Update docker-publish.yml

This commit is contained in:
Emrik Östling 2024-05-24 23:12:59 +02:00 committed by GitHub
parent 4cf06d9406
commit 0fe40135fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,11 +7,11 @@ name: Docker
on: on:
push: push:
branches: [ "main" ] branches: [ "master" ]
# Publish semver tags as releases. # Publish semver tags as releases.
tags: [ 'v*.*.*' ] tags: [ 'v*.*.*' ]
pull_request: pull_request:
branches: [ "main" ] branches: [ "master" ]
workflow_dispatch: workflow_dispatch:
env: env:
@ -65,4 +65,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max