From d5072a679ef855e279b42908c08cbceb4e38be05 Mon Sep 17 00:00:00 2001 From: Doctor Vince Date: Tue, 13 Feb 2024 16:49:45 -0500 Subject: [PATCH] update lint-test target --- .github/workflows/push-pr-lint.yml | 16 ++++++++-------- .github/workflows/release.yml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/push-pr-lint.yml b/.github/workflows/push-pr-lint.yml index f2bb16f3..6bd0cca6 100644 --- a/.github/workflows/push-pr-lint.yml +++ b/.github/workflows/push-pr-lint.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d6071219..bccfbda4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -44,4 +44,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} COSIGN_EXPERIMENTAL: 1 - GOVERSION: "1.21" + GOVERSION: "1.21.3"