|
|
|
@ -48,6 +48,9 @@ jobs: |
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
|
|
|
|
|
- name: Get Release Version |
|
|
|
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV |
|
|
|
|
|
|
|
- name: Build and push |
|
|
|
uses: docker/build-push-action@v2 |
|
|
|
with: |
|
|
|
@ -57,3 +60,5 @@ jobs: |
|
|
|
platforms: linux/amd64,linux/arm64 |
|
|
|
tags: ${{ steps.meta.outputs.tags }} |
|
|
|
labels: ${{ steps.meta.outputs.labels }} |
|
|
|
build-args: | |
|
|
|
RELEASE_VERSION=${{ env.RELEASE_VERSION }} |