Updates publish action to release
branch only
#4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build Umbraco Image | |
on: | |
push: | |
branches: [ "main", "stage", "develop" ] | |
pull_request: | |
branches: [ "main", "develop" ] | |
jobs: | |
build-umbraco-container: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Umbraco Docker image | |
run: docker build . --file ./Dockerfile --tag my-image-name:$(date +%s) |