mirror of
https://github.com/ManInDark/bootc-image.git
synced 2026-01-21 06:54:28 +01:00
FIX: remove rechunk
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -102,25 +102,6 @@ jobs:
|
|||||||
labels: ${{ steps.metadata.outputs.labels }}
|
labels: ${{ steps.metadata.outputs.labels }}
|
||||||
oci: false
|
oci: false
|
||||||
|
|
||||||
- name: Run Rechunker
|
|
||||||
id: rechunk
|
|
||||||
uses: hhd-dev/rechunk@f153348d8100c1f504dec435460a0d7baf11a9d2 # v1.1.1
|
|
||||||
with:
|
|
||||||
rechunk: 'ghcr.io/hhd-dev/rechunk:v1.0.1'
|
|
||||||
ref: "localhost/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}"
|
|
||||||
prev-ref: "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}"
|
|
||||||
skip_compression: true
|
|
||||||
version: ${{ env.CENTOS_VERSION }}
|
|
||||||
labels: ${{ steps.metadata.outputs.labels }}
|
|
||||||
|
|
||||||
- name: Load in podman and tag
|
|
||||||
run: |
|
|
||||||
IMAGE=$(podman pull ${{ steps.rechunk.outputs.ref }})
|
|
||||||
sudo rm -rf ${{ steps.rechunk.outputs.output }}
|
|
||||||
for tag in ${{ steps.metadata.outputs.tags }}; do
|
|
||||||
podman tag $IMAGE ${{ env.IMAGE_NAME }}:$tag
|
|
||||||
done
|
|
||||||
|
|
||||||
- name: Login to GitHub Container Registry
|
- name: Login to GitHub Container Registry
|
||||||
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
|
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
|
||||||
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
|
||||||
|
|||||||
Reference in New Issue
Block a user