diff --git a/.github/workflows/Docker-build-release.yaml b/.github/workflows/Docker-build-release.yaml new file mode 100644 index 0000000..b2313d4 --- /dev/null +++ b/.github/workflows/Docker-build-release.yaml @@ -0,0 +1,20 @@ +--- +on: + push: + branches: ['main'] + tags: ['v*'] + release: + types: [published] + +jobs: + build-and-push-image: + runs-on: ubuntu-latest + name: A job to build and push a docker image + permissions: + contents: read + packages: write + steps: + - id: build-push + uses: uclahs-cds/tool-Docker-action/build-release@latest + with: + github-token: ${{ secrets.GITHUB_TOKEN }}