Bump SpectoLabs/hoverfly from 1.6.0 to 1.6.1 #355
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 | |
on: # yamllint disable-line rule:truthy | |
pull_request_target: | |
types: | |
- closed | |
jobs: | |
tag: | |
name: Tag semantic version | |
runs-on: ubuntu-22.04 | |
outputs: | |
tag: ${{ steps.tag.outputs.tag }} | |
steps: | |
- name: Tag | |
uses: K-Phoen/[email protected] | |
id: tag | |
with: | |
release_branch: master | |
release_strategy: tag | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
release: | |
needs: tag | |
name: Create GitHub Release | |
runs-on: ubuntu-22.04 | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- | |
name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21.4' | |
- | |
name: Run GoReleaser | |
uses: goreleaser/[email protected] | |
with: | |
version: latest | |
args: release --rm-dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
build_and_push_docker_image: | |
needs: tag | |
name: Build and push image | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build and push Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
tags: agilepathway/pull-request-label-checker:${{ needs.tag.outputs.tag }} | |
platforms: linux/amd64,linux/arm64 | |
push: true |