Skip to content

Commit

Permalink
ci: upgrade action versions (autowarefoundation#269)
Browse files Browse the repository at this point in the history
Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored May 7, 2022
1 parent af25fad commit ed65a78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/actions/docker-build-and-push/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: composite
steps:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Install jq
run: |
Expand Down Expand Up @@ -52,7 +52,7 @@ runs:

- name: Docker meta for devel
id: meta-devel
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }}
tags: ${{ steps.set-docker-tags.outputs.tags }}
Expand All @@ -63,7 +63,7 @@ runs:
- name: Docker meta for prebuilt
id: meta-prebuilt
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository_owner }}/${{ inputs.bake-target }}
tags: ${{ steps.set-docker-tags.outputs.tags }}
Expand All @@ -74,7 +74,7 @@ runs:
- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -90,7 +90,7 @@ runs:
shell: bash

- name: Build and push
uses: docker/bake-action@v1
uses: docker/bake-action@v2
with:
push: ${{ github.ref_name == github.event.repository.default_branch }}
files: |
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/update-docker-manifest/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:
using: composite
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down

0 comments on commit ed65a78

Please sign in to comment.