Skip to content

Commit

Permalink
update lint-test target
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorVin committed Feb 13, 2024
1 parent dcbaf9a commit d5072a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/push-pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,31 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.21.3'

- name: Checkout code
uses: actions/checkout@v4

- name: build binary
run: make build-linux
run: make build

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Alloy Docker image - no push
id: dockerbuild-conditionorc
- name: Build Docker image - no push
id: docker-build
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: ghcr.io/metal-toolbox/conditionorc:latest
tags: ghcr.io/metal-toolbox/fleet-rest-skeleton:latest
file: Dockerfile

- name: Scan image - Alloy
id: scan-Alloy-image
- name: Scan image
id: scan-image
uses: anchore/scan-action@v3
with:
image: ghcr.io/metal-toolbox/conditionorc:latest
image: ghcr.io/metal-toolbox/fleet-rest-skeleton:latest
acs-report-enable: true
# TODO(joel): Fail build once we migrate off CentOS.
fail-build: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
go-version: "1.21.3"
-
name: install cosign
uses: sigstore/cosign-installer@main
Expand All @@ -44,4 +44,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COSIGN_EXPERIMENTAL: 1
GOVERSION: "1.21"
GOVERSION: "1.21.3"

0 comments on commit d5072a6

Please sign in to comment.