Merge pull request #137 from carriedaymont/upd-v3 #8
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
# Adapted from: | |
# https://github.com/VaultVulp/gp-docker-action#complete-workflow-example | |
name: Build and publish latest | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
build-and-publish-image: | |
if: github.repository == 'mitre/growthcleanr' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and publish Docker image | |
uses: VaultVulp/gp-docker-action@1.6.0 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
image-name: gcr-image | |
image-tag: latest |