forked from innovacion/Mayacontigo
Update release workflow for new images
Update the release workflow to build and tag the new images. The images are now tagged with the image name and the latest tag. The build cache has been removed as it is not needed.
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -51,9 +51,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Log in to Gitea Registry
|
- name: Log in to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -74,11 +71,9 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: .containers/python/Dockerfile
|
file: .containers/python/Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.image }}:latest,${{ steps.meta.outputs.image }}:${{ github.sha }}
|
||||||
build-args: |
|
build-args: |
|
||||||
PACKAGE=${{ matrix.app }}
|
PACKAGE=${{ matrix.app }}
|
||||||
cache-from: type=registry,ref=${{ steps.meta.outputs.image }}:buildcache
|
|
||||||
cache-to: type=registry,ref=${{ steps.meta.outputs.image }}:buildcache,mode=max
|
|
||||||
|
|
||||||
- name: Image summary
|
- name: Image summary
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user