Skip to content

Commit

Permalink
chore: Bump upstream docker actions (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok authored Feb 26, 2024
1 parent b2c2806 commit f33ebd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions actions/build-push-to-dockerhub/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ runs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 # v5.5.1
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
with:
images: ${{ inputs.repository }}
tags: ${{ inputs.tags }}

- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v5.1.0
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: ${{ inputs.context }}
platforms: ${{ inputs.platforms }}
Expand Down
2 changes: 1 addition & 1 deletion actions/dockerhub-login/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
DOCKERHUB_PASSWORD=dockerhub:password
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v3.0.0
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ env.DOCKERHUB_PASSWORD }}
6 changes: 3 additions & 3 deletions actions/push-to-gar-docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ runs:
echo "repo_name=${REPO_NAME}" >> ${GITHUB_OUTPUT}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 # v5.5.1
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
with:
images: "${{ inputs.registry }}/${{ steps.resolve-project.outputs.project }}/docker-${{ steps.get-repository-name.outputs.repo_name }}-${{ inputs.environment }}/${{ inputs.image_name }}"
tags: ${{ inputs.tags }}
Expand All @@ -72,15 +72,15 @@ runs:
service_account: ${{ steps.construct-service-account.outputs.service_account }}
create_credentials_file: false
- name: Login to GAR
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v3.0.0
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ inputs.registry }}
username: oauth2accesstoken
password: ${{ steps.gcloud-auth.outputs.access_token }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
- name: Build the container
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v5.1.0
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
with:
context: ${{ inputs.context }}
build-args: ${{ inputs.build-args }}
Expand Down

0 comments on commit f33ebd9

Please sign in to comment.