Update push-docker.yml

This commit is contained in:
Anthony Stirling 2023-01-29 14:07:53 +00:00 committed by GitHub
parent 4dd1ea8b06
commit db5c7bd173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,9 @@ name: Push Docker Image with VersionNumber
on:
push:
branches: [ "main" ]
branches:
- master
- main
jobs:
build:
@ -45,3 +46,14 @@ jobs:
push: true
tags: |
frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}
- name: Build and push
uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/master'
with:
context: .
push: true
tags: |
frooodle/s-pdf:${{ steps.versionNumber.outputs.versionNumber }}