next try
This commit is contained in:
@@ -18,7 +18,7 @@ concurrency:
|
||||
jobs:
|
||||
build_push:
|
||||
name: Build and push image
|
||||
runs-on: ubuntu-24.04 # Läuft jetzt auf Ubuntu (bringt Node.js für Actions nativ mit!)
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -29,7 +29,6 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Wir installieren Podman und jq direkt im Ubuntu-Runner. Das dauert nur ~10 Sekunden.
|
||||
- name: Install Podman & Tools
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@@ -73,10 +72,13 @@ jobs:
|
||||
|
||||
- name: Build Image
|
||||
run: |
|
||||
# Labels zeilenweise mit dem --label Flag versehen und in einer Variable puffern
|
||||
BUILDAH_LABELS=$(echo "${{ steps.metadata.outputs.labels }}" | sed 's/^/--label /')
|
||||
|
||||
podman build \
|
||||
-f ./Containerfile \
|
||||
-t "localhost/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}" \
|
||||
$(echo "${{ steps.metadata.outputs.labels }}" | sed 's/^/--label /') \
|
||||
$BUILDAH_LABELS \
|
||||
.
|
||||
|
||||
- name: Rechunk with chunkah
|
||||
|
||||
Reference in New Issue
Block a user