We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c7267b commit dc76672Copy full SHA for dc76672
.github/workflows/main.yaml
@@ -7,7 +7,10 @@ on:
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
+
11
steps:
12
+ - name: Get Short SHA
13
+ run: echo "SHORT_SHA=${{ github.sha::0:7 }}" >> $GITHUB_ENV
14
- name: Set up QEMU
15
uses: docker/setup-qemu-action@v2
16
@@ -36,7 +39,7 @@ jobs:
36
39
push: true
37
40
platforms: linux/amd64
38
41
tags: |
- glapss/responcer:${GITHUB_SHA::7}
42
+ glapss/responcer:${SHORT_SHA}
43
glapss/responcer:latest
44
ghcr.io/${{ github.repository }}:latest
- ghcr.io/${{ github.repository }}:${GITHUB_SHA::7}
45
+ ghcr.io/${{ github.repository }}:${SHORT_SHA}
0 commit comments