Skip to content

Commit

Permalink
Add explicit auth to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Jan 24, 2025
1 parent 14d71bb commit 735044f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ jobs:
container:
image: ${{ matrix.container_image }}
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
- run: cargo build ${{ matrix.features }}
Expand All @@ -100,6 +106,12 @@ jobs:
matrix:
features: ["", "--features network"]
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
- run: cargo build ${{ matrix.features }}
Expand Down Expand Up @@ -151,6 +163,12 @@ jobs:
_PROJ_SYS_TEST_EXPECT_BUILD_FROM_SRC: 1
features: ""
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
- run: cargo build ${{ matrix.features }}
Expand All @@ -167,6 +185,12 @@ jobs:
run:
working-directory: proj-sys
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
# At some point around Feb. 2023, the GH macos CI runner no longer had
Expand Down

0 comments on commit 735044f

Please sign in to comment.