v4.1.0 #29
Workflow file for this run
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: Release Workflow | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
name: release | |
env: | |
REF: ${{ github.ref }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
docker build --file ./build/Dockerfile \ | |
-t docker.pkg.github.com/jesse0michael/go-rest-assured/assured:${REF##*/} \ | |
-t docker.pkg.github.com/jesse0michael/go-rest-assured/assured . | |
- name: Push | |
run: | | |
docker login docker.pkg.github.com -u Jesse0Michael -p ${{ secrets.PAT }} | |
docker push docker.pkg.github.com/jesse0michael/go-rest-assured/assured:${REF##*/} | |
docker push docker.pkg.github.com/jesse0michael/go-rest-assured/assured |