Merge pull request #143 from carriedaymont/dependabot/github_actions/… #38
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/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
image-name: gcr-image | |
image-tag: latest |