Skip to content

Commit

Permalink
Merge pull request #40 from uswitch/airship-4267/update-actions-versions
Browse files Browse the repository at this point in the history
Airship-4267: update actions versions
  • Loading branch information
mmcgarr authored Jan 21, 2025
2 parents 9e482e1 + 3092219 commit d2f66f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.20"
- run: go test -v -cover $(go list ./... | grep -v /vendor)
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "1.20"
- run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.SHA=${{ github.sha }}" -o bin/vaultcreds cmd/*.go
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bin
path: bin/
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: bin
path: bin/
Expand All @@ -40,13 +40,13 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: quay.io/uswitch/vault-creds
tags: |
type=semver,pattern=v{{version}}
type=sha,prefix=,format=long,
- uses: docker/build-push-action@v4
- uses: docker/build-push-action@v6
with:
context: .
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit d2f66f9

Please sign in to comment.