Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
svkirillov committed Jul 26, 2024
1 parent 50238cd commit d6644f9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dockerhub-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: self-hosted-amd64-1cpu
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Import secrets
uses: hashicorp/vault-action@v2
uses: hashicorp/vault-action@v3
id: secrets
with:
exportEnv: false
Expand All @@ -26,7 +26,7 @@ jobs:
kv-gitlab-ci/data/github/shared/dockerhub-creds password | DOCKERHUB_PASSWORD ;
- name: Update DockerHub Description
uses: peter-evans/dockerhub-description@v3
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ steps.secrets.outputs.DOCKERHUB_USER }}
password: ${{ steps.secrets.outputs.DOCKERHUB_PASSWORD }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/dockerhub-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ jobs:
runs-on: self-hosted-amd64-1cpu
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Import secrets
uses: hashicorp/vault-action@v2
uses: hashicorp/vault-action@v3
id: secrets
with:
exportEnv: false
Expand All @@ -30,20 +30,20 @@ jobs:
kv-gitlab-ci/data/github/shared/dockerhub-creds password | DOCKERHUB_PASSWORD ;
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ steps.secrets.outputs.DOCKERHUB_USER }}
password: ${{ steps.secrets.outputs.DOCKERHUB_PASSWORD }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: wallarm/gotestwaf
tags: |
Expand All @@ -52,7 +52,7 @@ jobs:
type=raw,value=edge,enable={{is_default_branch}}
- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand All @@ -67,13 +67,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Delete old cached docker layers
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eu -o pipefail
set -eu
LAST_WORKFLOW_TIME=$(
gh run list \
Expand Down

0 comments on commit d6644f9

Please sign in to comment.