Skip to content

Commit

Permalink
update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mubangizi committed Nov 14, 2024
1 parent db16bb5 commit 64d25b1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install (Buildx)
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- id: meta
name: Tag
uses: docker/metadata-action@v3
uses: docker/metadata-action@v5
with:
flavor: |
latest=true
Expand All @@ -45,7 +45,7 @@ jobs:
type=sha
- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
cache-from: type=gha
cache-to: type=gha,mode=max
Expand All @@ -56,7 +56,7 @@ jobs:

- id: export
name: Export
uses: actions/github-script@v5
uses: actions/github-script@v7
with:
script: |
const metadata = JSON.parse(`${{ steps.meta.outputs.json }}`)
Expand All @@ -82,9 +82,9 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: azure/k8s-set-context@v1
- uses: azure/k8s-set-context@v3
with:
kubeconfig: ${{ secrets.RENU_KUBECONFIG}}

Expand Down

0 comments on commit 64d25b1

Please sign in to comment.