File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,11 @@ jobs:
207
207
- uses : actions/checkout@v4
208
208
if : ${{ steps.check-run.outputs.run == 'true' && github.event_name != 'push' }}
209
209
210
+ - name : Fetch all tags
211
+ run : |
212
+ git config --global --add safe.directory /__w/kraftkit/kraftkit
213
+ git fetch --force --tags
214
+
210
215
- name : Set up QEMU
211
216
if : ${{ steps.check-run.outputs.run == 'true' }}
212
217
uses : docker/setup-qemu-action@v3
@@ -237,6 +242,7 @@ jobs:
237
242
cache-from : type=gha
238
243
cache-to : type=gha,mode=max
239
244
outputs : type=docker,dest=/tmp/myself.tar
245
+ context : .
240
246
env :
241
247
IMAGE_TAG : blahblahblah
242
248
@@ -491,6 +497,11 @@ jobs:
491
497
- uses : actions/checkout@v4
492
498
if : ${{ steps.check-run.outputs.run == 'true' && github.event_name != 'push' }}
493
499
500
+ - name : Fetch all tags
501
+ run : |
502
+ git config --global --add safe.directory /__w/kraftkit/kraftkit
503
+ git fetch --force --tags
504
+
494
505
- name : Set up QEMU
495
506
if : ${{ steps.check-run.outputs.run == 'true' }}
496
507
uses : docker/setup-qemu-action@v3
@@ -539,6 +550,7 @@ jobs:
539
550
file : ./buildenvs/github-action.Dockerfile
540
551
secrets : |
541
552
GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }}
553
+ context : .
542
554
env :
543
555
KRAFTKIT_VERSION : blahblahblah
544
556
Original file line number Diff line number Diff line change 30
30
apt-get update
31
31
apt-get install -y --no-install-recommends \
32
32
fury-cli \
33
- nix-bin
33
+ nix-bin \
34
+ openssh-client;
34
35
curl -O -L "https://github.com/sigstore/cosign/releases/latest/download/cosign-linux-amd64"
35
36
mv cosign-linux-amd64 /usr/local/bin/cosign
36
37
chmod +x /usr/local/bin/cosign
Original file line number Diff line number Diff line change 36
36
ifeq ($(HASH ) ,)
37
37
HASH_COMMIT ?= HEAD
38
38
HASH ?= $(shell git update-index -q --refresh && \
39
- git describe --tags)
39
+ git describe --tags --always )
40
40
# Others can't be dirty by definition
41
41
ifneq ($(HASH_COMMIT ) ,HEAD)
42
42
HASH_COMMIT ?= HEAD
You can’t perform that action at this time.
0 commit comments