Merge pull request #100 from mitre/dependabot/github_actions/actions/… #19
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-publish-image: | |
if: github.repository == 'mitre/GrowthViz' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Build and publish latest Docker image | |
uses: VaultVulp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
image-name: gv-image | |
image-tag: latest |