diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-04-07 23:29:57 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-04-07 23:29:57 -0400 |
| commit | 77a4ef57aa9b120a40ed59720018ba897b539c8e (patch) | |
| tree | 6ba1689b6ad524d03d0b2bad14074231002ad00b /.github | |
| parent | 17e88f8ce8da3e8210d2cca502e066e11e97aee1 (diff) | |
| download | x-77a4ef57aa9b120a40ed59720018ba897b539c8e.tar.xz x-77a4ef57aa9b120a40ed59720018ba897b539c8e.zip | |
fix??
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/go.yml | 8 | ||||
| -rw-r--r-- | .github/workflows/package-builds.yml | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b6d6c14..f62e862 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -64,5 +64,13 @@ jobs: - name: Test run: go test ./... + - name: Log into registry + if: github.event_name != 'pull_request' + uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 + with: + registry: ghcr.io + username: xe + password: ${{ secrets.GHCR_PUSH }} + - name: Build docker images run: go tool yeet diff --git a/.github/workflows/package-builds.yml b/.github/workflows/package-builds.yml index 4d55f39..ffe107c 100644 --- a/.github/workflows/package-builds.yml +++ b/.github/workflows/package-builds.yml @@ -7,6 +7,7 @@ on: permissions: contents: write actions: write + packages: write jobs: package_builds: @@ -57,6 +58,14 @@ jobs: restore-keys: | ${{ runner.os }}-golang- + - name: Log into registry + if: github.event_name != 'pull_request' + uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 + with: + registry: ghcr.io + username: xe + password: ${{ secrets.GHCR_PUSH }} + - name: Build Packages run: | go run ./cmd/yeet |
