Skip to content

Commit

Permalink
Update gradle/gradle-build-action action to v3 [SECURITY]
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jun 17, 2024
1 parent 5377634 commit 9ec8a2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: |
echo "${{ secrets.CLOUDSMITH_APIKEY }}" | docker login private.docker.xenit.eu --username "${{ secrets.CLOUDSMITH_USER }}" --password-stdin
- name: Integration tests
uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2
uses: gradle/gradle-build-action@04b20c065cf1ab708c96e64a8811018d0a1fbc88 # v3
env:
VERSIONS_TO_BUILD: ${{ matrix.version }}
with:
Expand All @@ -61,15 +61,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@04b20c065cf1ab708c96e64a8811018d0a1fbc88 # v3
- name: Login to CloudSmith
run: |
echo "${{ secrets.CLOUDSMITH_APIKEY }}" | docker login private.docker.xenit.eu --username "${{ secrets.CLOUDSMITH_USER }}" --password-stdin
# We have to split out publishing to public and private repo's because pushing to docker.io does not seem to work
# without supplying DOCKER_USER and DOCKER_PASSWORD. However, supplying those environment variables breaks
# publishing to other repositories
- name: Publish public docker images
uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2
uses: gradle/gradle-build-action@04b20c065cf1ab708c96e64a8811018d0a1fbc88 # v3
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -78,7 +78,7 @@ jobs:
cache-read-only: false
arguments: pushDockerImage -PincludeEnterprise=false
- name: Publish private docker images
uses: gradle/gradle-build-action@a4cf152f482c7ca97ef56ead29bf08bcd953284c # v2
uses: gradle/gradle-build-action@04b20c065cf1ab708c96e64a8811018d0a1fbc88 # v3
env:
VERSIONS_TO_BUILD: ${{ matrix.version }}
with:
Expand Down

0 comments on commit 9ec8a2e

Please sign in to comment.