Merge pull request #159 from anchore/dependabot/go_modules/golang.org… #21
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: | |
push: | |
# Ignore all branches for release | |
branches-ignore: | |
- "**" | |
tags: | |
- "v*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.21" | |
- name: Test | |
run: make test | |
- name: Setup Ko | |
uses: imjasonh/[email protected] | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.ANCHOREINTEGRATIONSWRITE_DH_USERNAME }} | |
password: ${{ secrets.ANCHOREINTEGRATIONSWRITE_DH_PAT }} | |
- name: Release Container | |
run: make release |