diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 8dbdbda..26f6629 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -118,25 +118,25 @@ jobs: # This does not make your image faster to download, just provides better resumability and fixes a few errors. # Documentation for Rechunk is provided on their github repository at https://github.com/hhd-dev/rechunk # You can enable it by uncommenting the following lines: - - name: Run Rechunker - id: rechunk - uses: https://github.com/hhd-dev/rechunk@c945e9ec8ad4466f888e41ab7f4d5ba2f74a8ee4 # v1.2.1 - with: - rechunk: 'ghcr.io/hhd-dev/rechunk:v1.0.1' - ref: "${{ env.IMAGE_NAME }}:latest" - prev-ref: "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest" - skip_compression: true - version: ${{ env.CENTOS_VERSION }} - labels: ${{ steps.metadata.outputs.labels }} # Rechunk strips out all the labels during build, this needs to be reapplied here with newline separator + # - name: Run Rechunker + # id: rechunk + # uses: https://github.com/hhd-dev/rechunk@c945e9ec8ad4466f888e41ab7f4d5ba2f74a8ee4 # v1.2.1 + # with: + # rechunk: 'ghcr.io/hhd-dev/rechunk:v1.0.1' + # ref: "${{ env.IMAGE_NAME }}:latest" + # prev-ref: "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest" + # skip_compression: true + # version: ${{ env.CENTOS_VERSION }} + # labels: ${{ steps.metadata.outputs.labels }} # Rechunk strips out all the labels during build, this needs to be reapplied here with newline separator - # This is necessary so that the podman socket can find the rechunked image on its storage - - 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 + # # This is necessary so that the podman socket can find the rechunked image on its storage + # - 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 # Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR. # https://github.com/macbre/push-to-ghcr/issues/12