Skip to content

Commit

Permalink
ci(GITHUB): upgrade docker actions
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Mar 5, 2024
1 parent 8802894 commit 647679e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
shell: bash

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

- name: Container Scan -- Build Container
uses: docker/build-push-action@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-95-container-multiarch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
shell: bash

- name: Multiarch Image Management -- Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ inputs.REGISTRY }}
username: ${{ steps.registry.outputs.REGISTRY_USERNAME }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/job-95-container-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ on:
description: "Optional, allows you define where the Dockerfile is located with respect to the context."
required: false
type: string
REGISTRY:
default: "ghcr.io"
description: "Optional, allows you to specify a Docker registry to use."
required: false
type: string
IMAGE_NAME:
default: ""
description: "Optional, allows you to specify the image name, otherwise the configured script will generate one."
Expand Down Expand Up @@ -57,6 +52,11 @@ on:
description: "Optional, a command to run before build executes."
required: false
type: string
REGISTRY:
default: "ghcr.io"
description: "Optional, allows you to specify a Docker registry to use."
required: false
type: string
REMOTE_SCRIPT_DEFAULT_SETTER:
default: "ci/github/scripts/step-set-value-with-default.sh"
description: "Optional, allows you to specify different default value creation script."
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Push Container -- Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ inputs.REGISTRY }}
username: ${{ steps.registry.outputs.REGISTRY_USERNAME }}
Expand Down

0 comments on commit 647679e

Please sign in to comment.