build(deps): bump github.com/digitalocean/godo from 1.128.0 to 1.130.0 #908
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: ci | |
on: | |
pull_request: | |
push: | |
branches: [ master ] | |
env: | |
GOFLAGS: "-mod=vendor" | |
GITHUB_ENV: ".env" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
fetch-depth: 1 | |
- name: Install go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version-file: go.mod | |
- name: Run tests | |
run: make ci | |
- name: Verify container image build | |
run: make build | |
release-dev-image: | |
runs-on: ubuntu-latest | |
needs: test | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
fetch-depth: 1 | |
- name: Install go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version-file: go.mod | |
- name: Login to dockerhub to push the image | |
run: echo "${{ secrets.DockerHubToken }}" | docker login --username ${DOCKER_USER} --password-stdin | |
env: | |
DOCKER_USER: ${{ secrets.DockerHubUser }} | |
- name: build and push new CCM dev image | |
run: | | |
VERSION=dev make publish |