Skip to content

chore(deps): update codecov/codecov-action action to v5 (#585) #479

chore(deps): update codecov/codecov-action action to v5 (#585)

chore(deps): update codecov/codecov-action action to v5 (#585) #479

Workflow file for this run

# name of the action
name: publish
# trigger on push events with branch main
on:
push:
branches: [ main ]
# pipeline to execute
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: clone
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# ensures we fetch tag history for the repository
fetch-depth: 0
- name: install go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
# use version from go.mod file
go-version-file: 'go.mod'
cache: true
check-latest: true
- name: build
run: ./release.sh
- name: publish
uses: elgohr/Publish-Docker-Github-Action@eb53b3ec07136a6ebaed78d8135806da64f7c7e2 # v5
with:
name: target/vela-cli
cache: true
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}