Skip to content

Commit 08ea7bf

Browse files
committed
fix(ci): docker login
1 parent 9ed3f42 commit 08ea7bf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
arch: [amd64, arm64]
15-
os: [ubuntu-latest, windows-latest, macos-11]
15+
os: [ubuntu-latest, windows-latest, macos-latest]
1616
include:
1717
- os: ubuntu-latest
1818
os_name: ubuntu
1919
artifact_suffix: ""
2020
- os: windows-latest
2121
os_name: windows
2222
artifact_suffix: ".exe"
23-
- os: macos-11
23+
- os: macos-latest
2424
os_name: macos
2525
artifact_suffix: ""
2626
runs-on: ${{ matrix.os }}
@@ -57,6 +57,12 @@ jobs:
5757
uses: docker/setup-qemu-action@v2
5858
- name: Set up Docker Buildx
5959
uses: docker/setup-buildx-action@v2
60+
- name: Log in to GitHub Container Registry
61+
uses: docker/login-action@v2
62+
with:
63+
registry: ghcr.io
64+
username: ${{ github.actor }}
65+
password: ${{ secrets.GITHUB_TOKEN }}
6066
- name: Build
6167
id: docker_build
6268
uses: docker/build-push-action@v4

0 commit comments

Comments
 (0)