Skip to content

build(deps): bump softprops/action-gh-release from 2.0.5 to 2.0.8 #853

build(deps): bump softprops/action-gh-release from 2.0.5 to 2.0.8

build(deps): bump softprops/action-gh-release from 2.0.5 to 2.0.8 #853

Workflow file for this run

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@692973e3d937129bcbf40652eb9f2f61becf3332
with:
fetch-depth: 1
- name: Install go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
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@692973e3d937129bcbf40652eb9f2f61becf3332
with:
fetch-depth: 1
- name: Install go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
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