Skip to content

Commit

Permalink
Merge pull request #1332 from tdakkota/ci/fix-image-builder
Browse files Browse the repository at this point in the history
ci(Dockerfile): use latest Go to build Docker image
  • Loading branch information
ernado authored Oct 20, 2024
2 parents 8a51598 + ce47f75 commit 3cb00be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/image_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ on:
push:
tags:
- v*
workflow_dispatch:

jobs:
docker:
permissions: write-all
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM golang:1.21 as builder
ARG GO_VERSION=latest

FROM golang:$GO_VERSION as builder

WORKDIR /go/src/app

Expand Down

0 comments on commit 3cb00be

Please sign in to comment.