We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21fde67 commit 8b3ab1dCopy full SHA for 8b3ab1d
1 file changed
.github/workflows/docker.yml
@@ -32,9 +32,13 @@ jobs:
32
- name: Build and push image
33
run: |
34
image_tag="ghcr.io/${{ github.repository }}:${{ github.run_id }}"
35
+ latest_tag="ghcr.io/${{ github.repository }}:latest"
36
+
37
./build \
38
--tag "$image_tag" \
- --push
39
+ --tag "$latest_tag" \
40
+ --push \
41
+ --cache-from=type=registry,ref="$latest_tag"
42
43
cat >"$GITHUB_STEP_SUMMARY" <<~~
44
Image successfully published.
0 commit comments