Skip to content

Commit 3208da3

Browse files
committed
fix chisel version in docker image (closes #228)
1 parent 59e5362 commit 3208da3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM golang:alpine AS build
33
RUN apk update && apk add git
44
ADD . /src
55
WORKDIR /src
6-
ENV CGO_ENABLED 0
6+
ENV CGO_ENABLED=0
77
RUN go build \
88
-ldflags "-X github.com/jpillora/chisel/share.BuildVersion=$(git describe --abbrev=0 --tags)" \
99
-o /tmp/bin

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
# optionally test/build across multiple platforms/Go-versions
15-
go-version: ['1.22'] # '1.16', '1.17', '1.18,
15+
go-version: ["1.22"] # '1.16', '1.17', '1.18,
1616
platform: [ubuntu-latest, macos-latest, windows-latest]
1717
runs-on: ${{ matrix.platform }}
1818
steps:
@@ -80,10 +80,11 @@ jobs:
8080
- name: Build and push
8181
uses: docker/build-push-action@v3
8282
with:
83+
context: .
8384
file: .github/Dockerfile
8485
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/386,linux/arm/v7,linux/arm/v6
8586
push: true
8687
tags: ${{ steps.meta.outputs.tags }}
8788
labels: ${{ steps.meta.outputs.labels }}
8889
cache-from: type=gha
89-
cache-to: type=gha,mode=max
90+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)