Skip to content

Commit

Permalink
chore(deps): update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Nov 25, 2024
1 parent bb49889 commit f6919ad
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-publish-on-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,20 @@ jobs:

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@5138f76647652447004da686b2411557eaf65f33
uses: docker/setup-buildx-action@0f069ddc17b8eb78586b08a7fe335fd54649e2d3

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into GH registry (ghcr.io)
uses: docker/login-action@70fccc794acd729b2b22dd6a326895f286447728
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log into Docker Hub registry
if: env.DOCKERHUB_USERNAME != ''
uses: docker/login-action@70fccc794acd729b2b22dd6a326895f286447728
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -70,7 +70,7 @@ jobs:
# 2nd image name is for DockerHub image
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48
uses: docker/metadata-action@b53be03109c4ef6f6cc7aa545b84b17a7fe51c1e
with:
context: git
images: |
Expand All @@ -85,7 +85,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
uses: docker/build-push-action@0259cb088b9283926c6ffe4374b2a06a25c8c131
with:
context: .
push: true
Expand All @@ -96,7 +96,7 @@ jobs:

- name: Extract Docker metadata - alpine
id: meta-alpine
uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48
uses: docker/metadata-action@b53be03109c4ef6f6cc7aa545b84b17a7fe51c1e
with:
context: git
images: |
Expand All @@ -108,7 +108,7 @@ jobs:
flavor: prefix=alpine-,onlatest=true
- name: Build and push Docker image - alpine
id: build-and-push-alpine
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
uses: docker/build-push-action@0259cb088b9283926c6ffe4374b2a06a25c8c131
with:
context: .
target: alpine-release
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ jobs:

# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@5138f76647652447004da686b2411557eaf65f33
uses: docker/setup-buildx-action@0f069ddc17b8eb78586b08a7fe335fd54649e2d3

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into GH registry (ghcr.io)
if: github.event_name != 'pull_request'
uses: docker/login-action@70fccc794acd729b2b22dd6a326895f286447728
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log into Docker Hub registry
if: github.event_name != 'pull_request' && env.DOCKERHUB_USERNAME != ''
uses: docker/login-action@70fccc794acd729b2b22dd6a326895f286447728
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -72,7 +72,7 @@ jobs:
# 2nd image name is for DockerHub image
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48
uses: docker/metadata-action@b53be03109c4ef6f6cc7aa545b84b17a7fe51c1e
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
Expand All @@ -82,7 +82,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
uses: docker/build-push-action@0259cb088b9283926c6ffe4374b2a06a25c8c131
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -97,7 +97,7 @@ jobs:
# 2nd image name is for DockerHub image
- name: Extract Docker metadata - alpine
id: meta-alpine
uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48
uses: docker/metadata-action@b53be03109c4ef6f6cc7aa545b84b17a7fe51c1e
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
Expand All @@ -107,7 +107,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image - alpine
id: build-and-push-alpine
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
uses: docker/build-push-action@0259cb088b9283926c6ffe4374b2a06a25c8c131
with:
context: .
target: alpine-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: 🧼 lint renovate config # Validates changes to renovate.json config file
uses: suzuki-shunsuke/github-action-renovate-config-validator@v1.0.1
uses: suzuki-shunsuke/github-action-renovate-config-validator@v1.1.0
with:
config_file_path: 'renovate.json'
golangci:
Expand Down

0 comments on commit f6919ad

Please sign in to comment.