fix: Remove checkout for semantic release
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -29,9 +29,6 @@ outputs:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Create package.json
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user