Skip to content

Commit

Permalink
Use relative symlinks to workaround ostree-ext-rs bug
Browse files Browse the repository at this point in the history
  • Loading branch information
prydom committed Jul 12, 2024
1 parent 0b6573a commit 14304ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ jobs:
run: |
mkdir -p /etc/containers
echo '{}' > /etc/containers/auth.json
ln -s /etc/containers/auth.json /etc/ostree/auth.json
ln -sr /etc/containers/auth.json /etc/ostree/auth.json
mkdir -p ~/.config/containers
ln -s /etc/containers/auth.json ~/.config/containers/auth.json
ln -sr /etc/containers/auth.json ~/.config/containers/auth.json
mkdir -p ~/.docker
ln -s /etc/containers/auth.json ~/.docker/config.json
ln -sr /etc/containers/auth.json ~/.docker/config.json
buildah login ghcr.io --authfile /etc/containers/auth.json -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
- name: Get container manifest
id: target-manifest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upgrade-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
run: |
mkdir -p /etc/containers
echo '{}' > /etc/containers/auth.json
ln -s /etc/containers/auth.json /etc/ostree/auth.json
ln -sr /etc/containers/auth.json /etc/ostree/auth.json
mkdir -p ~/.config/containers
ln -s /etc/containers/auth.json ~/.config/containers/auth.json
ln -sr /etc/containers/auth.json ~/.config/containers/auth.json
mkdir -p ~/.docker
ln -s /etc/containers/auth.json ~/.docker/config.json
ln -sr /etc/containers/auth.json ~/.docker/config.json
buildah login ghcr.io --authfile /etc/containers/auth.json -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 14304ed

Please sign in to comment.