Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
Gustavo Maronato | 17d4f78663 | ||
Gustavo Maronato | 135fded43d | ||
Gustavo Maronato | d27d49a568 | ||
Gustavo Maronato | a48c55baca |
|
@ -1,4 +1,4 @@
|
||||||
name: Release
|
name: Release Docker image
|
||||||
# Controls when the workflow will run
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildpush:
|
buildpush:
|
||||||
runs-on: self-hosted
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -78,8 +78,8 @@ jobs:
|
||||||
# cache-from: type=local,src=/tmp/.buildx-cache
|
# cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
# cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
|
# cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
|
||||||
load: true
|
load: true
|
||||||
cache-from: type=gha
|
cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:latest
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=inline
|
||||||
# - # Temp fix
|
# - # Temp fix
|
||||||
# # https://github.com/docker/build-push-action/issues/252
|
# # https://github.com/docker/build-push-action/issues/252
|
||||||
# # https://github.com/moby/buildkit/issues/1896
|
# # https://github.com/moby/buildkit/issues/1896
|
Loading…
Reference in New Issue
Block a user