Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use github.repository_owner #56

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/wit-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
<meta charset="utf-8">
<title>Redirecting to wit_deps/index.html</title>
<meta http-equiv="refresh" content="0; URL=wit_deps/index.html">
<link rel="canonical" href="https://${{ github.repository.owner }}.github.io/wit-deps/wit_deps/index.html">
<link rel="canonical" href="https://${{ github.repository_owner }}.github.io/wit-deps/wit_deps/index.html">
EOF
- uses: actions/upload-pages-artifact@v2.0.0
with:
Expand Down Expand Up @@ -158,12 +158,12 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
with:
registry: ghcr.io
username: ${{ github.repository.owner }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: nix run -L .#build-wit-deps-oci wit-deps
- run: nix profile install --inputs-from . 'nixpkgs#buildah'
if: ${{ github.event_name != 'pull_request' }}
- run: buildah push --storage-driver=vfs --all --format 'v2s2' wit-deps docker://ghcr.io/${{ github.repository.owner }}/wit-deps:${{ github.sha }}
- run: buildah push --storage-driver=vfs --all --format 'v2s2' wit-deps docker://ghcr.io/${{ github.repository_owner }}/wit-deps:${{ github.sha }}
if: ${{ github.event_name != 'pull_request' }}

release:
Expand Down