Skip to content

Commit

Permalink
Fix versions for build all images (#101)
Browse files Browse the repository at this point in the history
* Fix versions for build all images

* Also don't login/push from forks
  • Loading branch information
Sushisource authored Aug 2, 2024
1 parent 38521a9 commit 3775f7e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
do-push: true
as-latest: true
go-version: 'v1.28.1'
ts-version: 'v1.9.0'
java-version: 'v1.22.3'
py-version: 'v1.4.0'
dotnet-version: 'v1.0.0'
ts-version: 'v1.10.2'
java-version: 'v1.24.2'
py-version: 'v1.6.0'
dotnet-version: 'v1.2.0'
4 changes: 2 additions & 2 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v2
if: inputs.do-push
if: inputs.do-push && !github.event.pull_request.head.repo.fork
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PAT }}

- name: Push image to DockerHub
if: inputs.do-push
if: inputs.do-push && !github.event.pull_request.head.repo.fork
run: go run ./cmd push-images

0 comments on commit 3775f7e

Please sign in to comment.