Skip to content

Commit

Permalink
ci: update actions packages version (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoo authored Apr 2, 2023
1 parent e800ab9 commit a8a85bb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Log into registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Build and push ( manual )
if: ${{ inputs.version }}
id: docker_build_manual
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
build-args: |
Expand All @@ -42,11 +42,11 @@ jobs:
- name: Build and push
if: success() && startsWith(github.ref, 'refs/tags/')
id: docker_build_auto
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
build-args: |
version=${{ steps.get_version.outputs.version-without-v }}
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/386
tags: opqofficial/opq:latest,${{ format('opqofficial/opq:v{0}', steps.get_version.outputs.version-without-v) }}
tags: opqofficial/opq:latest,${{ format('opqofficial/opq:v{0}', steps.get_version.outputs.version-without-v) }}

0 comments on commit a8a85bb

Please sign in to comment.