Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ jobs:
with:
fetch-depth: 0

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2

- name: Log in to the ghcr
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to the docker
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down Expand Up @@ -52,9 +55,10 @@ jobs:

- name: Build and push image
if: ${{ steps.meta.outputs.tags != '' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: "."
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}

Expand All @@ -63,6 +67,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: "."
platforms: linux/amd64,linux/arm64
push: true
build-args: |
KEEP_SYMBOL=1
Expand Down