next try
This commit is contained in:
@@ -18,7 +18,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
build_push:
|
build_push:
|
||||||
name: Build and push image
|
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:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -29,7 +29,6 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Wir installieren Podman und jq direkt im Ubuntu-Runner. Das dauert nur ~10 Sekunden.
|
|
||||||
- name: Install Podman & Tools
|
- name: Install Podman & Tools
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -73,10 +72,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Build Image
|
- name: Build Image
|
||||||
run: |
|
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 \
|
podman build \
|
||||||
-f ./Containerfile \
|
-f ./Containerfile \
|
||||||
-t "localhost/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}" \
|
-t "localhost/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}" \
|
||||||
$(echo "${{ steps.metadata.outputs.labels }}" | sed 's/^/--label /') \
|
$BUILDAH_LABELS \
|
||||||
.
|
.
|
||||||
|
|
||||||
- name: Rechunk with chunkah
|
- name: Rechunk with chunkah
|
||||||
|
|||||||
Reference in New Issue
Block a user