mirror of https://github.com/jlelse/GoBlog
Maybe fix GHCR image? (#60)
This commit is contained in:
parent
5eecc71e7b
commit
4c1f0adffb
|
@ -35,24 +35,20 @@ jobs:
|
||||||
push: false
|
push: false
|
||||||
target: test
|
target: test
|
||||||
tags: test
|
tags: test
|
||||||
cache-from: type=gha
|
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
- name: Build base image
|
- name: Build base image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
target: base
|
target: base
|
||||||
tags: ghcr.io/jlelse/goblog:latest,git.jlel.se/jlelse/goblog:latest
|
tags: ghcr.io/jlelse/goblog:latest,git.jlel.se/jlelse/goblog:latest
|
||||||
cache-from: type=gha
|
provenance: false
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
- name: Build tools image
|
- name: Build tools image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
target: tools
|
target: tools
|
||||||
tags: ghcr.io/jlelse/goblog:tools,git.jlel.se/jlelse/goblog:tools
|
tags: ghcr.io/jlelse/goblog:tools,git.jlel.se/jlelse/goblog:tools
|
||||||
cache-from: type=gha
|
provenance: false
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
- name: Delete old untagged images
|
- name: Delete old untagged images
|
||||||
uses: camargo/delete-untagged-action@v1
|
uses: camargo/delete-untagged-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue