diff --git a/docker-build-nix/action.yaml b/docker-build-nix/action.yaml index fe936d0..b79ce38 100644 --- a/docker-build-nix/action.yaml +++ b/docker-build-nix/action.yaml @@ -87,8 +87,8 @@ runs: TARGET_IMAGE="docker://${{ inputs.registry }}/${{ inputs.image-name }}:${{ inputs.image-tag }}" echo "Pushing OCI image to: $TARGET_IMAGE" - # Set TMPDIR to a writable location - export TMPDIR="${TMPDIR:-$PWD/tmp}" + # Set TMPDIR to a writable location (/tmp should always be writable in containers) + export TMPDIR="${TMPDIR:-/tmp}" mkdir -p "$TMPDIR" # Build skopeo command with optional credentials