File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 3030 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131 with :
3232 fetch-depth : 0
33+ persist-credentials : false
3334
3435 # If the event that triggered the build was an annotated tag (which our
3536 # tags are supposed to be), actions/checkout has a bug where the tag in
4950 - uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
5051 with :
5152 go-version : " ~1.22"
53+ cache : false
5254
5355 - name : Build tunneld and Docker images
5456 id : build
@@ -69,10 +71,12 @@ jobs:
6971
7072 - name : Push Docker image
7173 if : ${{ !github.event.inputs.dry_run && !github.event.inputs.snapshot }}
74+ env :
75+ DOCKER_TAG : ${{ steps.build.outputs.docker_tag }}
7276 run : |
7377 set -euxo pipefail
7478
75- image_tag="${{ steps.build.outputs.docker_tag }} "
79+ image_tag="$DOCKER_TAG "
7680 docker push "$image_tag"
7781
7882 latest_tag="ghcr.io/coder/wgtunnel/tunneld:latest"
Original file line number Diff line number Diff line change 3131 steps :
3232 - name : Checkout
3333 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34+ with :
35+ persist-credentials : false
3436 - name : Setup Go
3537 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
3638 with :
4345 steps :
4446 - name : Checkout
4547 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+ with :
49+ persist-credentials : false
4650 - name : Setup Go
4751 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
4852 with :
5761 steps :
5862 - name : Checkout
5963 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
64+ with :
65+ persist-credentials : false
6066 - name : Setup Go
6167 uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
6268 with :
You can’t perform that action at this time.
0 commit comments