diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0be41e7..90cc61c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - @@ -20,7 +20,7 @@ jobs: run: git fetch --force --tags - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - @@ -35,13 +35,13 @@ jobs: args: build --snapshot - name: Install license check tool - run: go install github.com/google/addlicense@latest + run: go install github.com/google/addlicense@v1 - name: Check licenses run: addlicense -l apache -check -v -ignore '**/*.yaml' -c Humanitec ./cmd ./internal/ - name: Build docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . push: false @@ -55,7 +55,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - @@ -63,7 +63,7 @@ jobs: run: git fetch --force --tags - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - @@ -81,14 +81,14 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . platforms: linux/amd64,linux/arm64