diff --git a/publish-container/action.yaml b/publish-container/action.yaml index 3b09709..2bf7d82 100644 --- a/publish-container/action.yaml +++ b/publish-container/action.yaml @@ -68,11 +68,16 @@ runs: nix-build -A containers."${{ inputs.project }}" \ --argstr env "${{ steps.envvars.outputs.ENV }}" - ls -alh ./result - skopeo inspect docker-archive://$(readlink -f ./result) + # The Nix build creates a compressed tar.gz file, we need to extract it first + cd /tmp/skopeo + cp ${GITHUB_WORKSPACE}/result ./docker-image.tar.gz + gunzip docker-image.tar.gz + + # ls -alh ./result + # skopeo inspect docker-archive://$(readlink -f ./result) echo "Pushing image: ${{ steps.envvars.outputs.IMAGE_NAME }}" skopeo copy \ --tmpdir /tmp/skopeo \ - docker-archive://$(readlink -f ./result) \ + docker-archive:/tmp/skopeo/docker-image.tar \ docker://${{ steps.envvars.outputs.IMAGE_NAME }} diff --git a/sr/action.yaml b/sr/action.yaml index 7162636..00ef346 100644 --- a/sr/action.yaml +++ b/sr/action.yaml @@ -29,9 +29,6 @@ outputs: runs: using: composite steps: - - name: Checkout code - uses: actions/checkout@v6 - - name: Create package.json shell: bash run: |