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:
2025-11-25 06:13:15 +00:00
parent ccc7e7c786
commit cccf0a4784

View File

@@ -51,9 +51,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Registry
uses: docker/login-action@v3
with:
@@ -74,11 +71,9 @@ jobs:
context: .
file: .containers/python/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.image }}:latest,${{ steps.meta.outputs.image }}:${{ github.sha }}
build-args: |
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
run: |