Skip to content

Commit

Permalink
cleanup: bump actions/setup-go to v5
Browse files Browse the repository at this point in the history
* feat/ci: bump actions/setup-go to v5

Signed-off-by: K.B.Dharun Krishna <[email protected]>

* fix: set publish image job for main repo only

Signed-off-by: K.B.Dharun Krishna <[email protected]>

* fix: repository capitalization

* fix: repository name

---------

Signed-off-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
kbdharun authored Dec 7, 2023
1 parent 4e7e3c7 commit 0a8c051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.21

Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.21

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
run: docker image build -f Containerfile --tag ghcr.io/vanilla-os/differ:main .

- name: Publish image
if: github.repository == 'Vanilla-OS/Differ' && github.ref == 'refs/heads/main'
run: |
docker login ghcr.io -u ${{ env.REGISTRY_USER }} -p ${{ env.REGISTRY_PASSWORD }}
docker image push "ghcr.io/vanilla-os/differ:main"

0 comments on commit 0a8c051

Please sign in to comment.