Skip to content

Commit

Permalink
Merge pull request #94 from kfox1111/state-fix
Browse files Browse the repository at this point in the history
Initial image didn't have debs. Don't copy.
  • Loading branch information
kfox1111 authored Feb 2, 2025
2 parents ab7152e + 0e58021 commit de7a630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
sudo apt-get install -y rsync
# Fetch previously released packages
mkdir -p /tmp/oldpackages
docker run -i --rm -v /tmp:/tmp ghcr.io/spiffe/spire-examples/pages:latest /bin/bash -c 'cp -a /usr/share/nginx/html/RPMS /tmp/oldpackages/ && cp -a /usr/share/nginx/html/DEBS /tmp/oldpackages/'
docker run -i --rm -v /tmp:/tmp ghcr.io/spiffe/spire-examples/pages:latest /bin/bash -c 'cp -a /usr/share/nginx/html/RPMS /tmp/oldpackages/'
# Copy only packages that don't overwrite a previously released package. This prevents rereleasing a package.
rsync --ignore-existing -rav /tmp/packages/ /tmp/oldpackages/
rm -rf /tmp/packages
Expand Down

0 comments on commit de7a630

Please sign in to comment.