Browse Source

chore(deps): bump golang from 1.19.1-alpine to 1.19.2-alpine (#1621)

* chore(deps): bump golang from 1.19.1-alpine to 1.19.2-alpine

Bumps golang from 1.19.1-alpine to 1.19.2-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: image build pipeline

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Moritz Johner <beller.moritz@googlemail.com>
dependabot[bot] 3 years ago
parent
commit
a97cd60142
2 changed files with 4 additions and 4 deletions
  1. 3 3
      .github/workflows/publish.yml
  2. 1 1
      Dockerfile.standalone

+ 3 - 3
.github/workflows/publish.yml

@@ -89,7 +89,7 @@ jobs:
           GITHUB_REF: ${{ github.ref }}
         run: |
           if [ "$GITHUB_REF" == "refs/heads/main" ]; then
-            TAG=main
+            TAG=main${{ inputs.tag-suffix }}
           else
             TAG=$(make docker.tag)
           fi
@@ -99,7 +99,7 @@ jobs:
         if: env.IS_FORK == 'false'
         shell: bash
         env:
-          IMAGE_TAG: ${{ steps.container_info.outputs.image-tag }}${{ inputs.tag-suffix }}
+          IMAGE_TAG: ${{ steps.container_info.outputs.image-tag }}
           BUILD_ARGS: >-
             --push
             --platform linux/amd64,linux/arm64
@@ -109,7 +109,7 @@ jobs:
         if: env.IS_FORK == 'true'
         shell: bash
         env:
-          IMAGE_TAG: ${{ steps.container_info.outputs.image-tag }}${{ inputs.tag-suffix }}
+          IMAGE_TAG: ${{ steps.container_info.outputs.image-tag }}
           BUILD_ARGS: --load
         run: make docker.build
 

+ 1 - 1
Dockerfile.standalone

@@ -1,5 +1,5 @@
 # This version of Dockerfile is for building without external dependencies.
-FROM golang:1.19.1-alpine AS builder
+FROM golang:1.19.2-alpine AS builder
 ENV CGO_ENABLED=0 GOOS=linux GOARCH=amd64
 WORKDIR /app
 # Avoid invalidating the `go mod download` cache when only code has changed.