Skip to content

Commit

Permalink
ci: update oci-factory publish to use go1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
shipperizer authored Oct 24, 2024
1 parent d2b2eb9 commit 5efcbe0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Golang setup
uses: actions/setup-go@v5
with:
go-version: '>=1.22.0'
# install oci-factory via golang and set path in environment
- name: Install oci-factory
run: |
sudo apt update && sudo apt install -y golang-go git
sudo apt update && sudo apt install -y git
go install github.com/canonical/oci-factory/tools/cli-client/cmd/oci-factory@latest
go install github.com/mikefarah/yq/v4@v4.44.3
echo "OCI_FACTORY=$(go env GOPATH)/bin/oci-factory" >> $GITHUB_ENV
Expand Down

0 comments on commit 5efcbe0

Please sign in to comment.