Skip to content

Commit cbdf49b

Browse files
committed
Fix release: logout from GHCR before pulling cross-org image
GitHub Actions runners have pre-configured GHCR auth that interferes with pulling public images from other orgs. Logout first to force anonymous pull.
1 parent fd407d0 commit cbdf49b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616

1717
- name: Build binaries
1818
run: |
19+
docker logout ghcr.io || true
1920
docker pull ghcr.io/blinklang/blink:0.29
2021
mkdir -p dist
2122
docker run --rm -v "$PWD":/work -w /work ghcr.io/blinklang/blink:0.29 blink build src/main.bl --release -T linux -o dist/br-linux-amd64

0 commit comments

Comments
 (0)