|
|
@ -103,11 +103,11 @@ jobs: |
|
|
|
working-directory: ${{ env.working-directory }} |
|
|
|
working-directory: ${{ env.working-directory }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU |
|
|
|
- name: Set up QEMU |
|
|
|
uses: docker/setup-qemu-action@v1 |
|
|
|
uses: docker/setup-qemu-action@v2.1.0 |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx |
|
|
|
- name: Set up Docker Buildx |
|
|
|
id: buildx |
|
|
|
id: buildx |
|
|
|
uses: docker/setup-buildx-action@v1 |
|
|
|
uses: docker/setup-buildx-action@v2.2.1 |
|
|
|
|
|
|
|
|
|
|
|
- name: Cache Docker layers |
|
|
|
- name: Cache Docker layers |
|
|
|
uses: actions/cache@v3 |
|
|
|
uses: actions/cache@v3 |
|
|
@ -118,13 +118,13 @@ jobs: |
|
|
|
${{ runner.os }}-buildx- |
|
|
|
${{ runner.os }}-buildx- |
|
|
|
|
|
|
|
|
|
|
|
- name: Login to DockerHub |
|
|
|
- name: Login to DockerHub |
|
|
|
uses: docker/login-action@v1 |
|
|
|
uses: docker/login-action@v2.1.0 |
|
|
|
with: |
|
|
|
with: |
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push |
|
|
|
- name: Build and push |
|
|
|
uses: docker/build-push-action@v2 |
|
|
|
uses: docker/build-push-action@v3.2.0 |
|
|
|
with: |
|
|
|
with: |
|
|
|
context: ${{ env.working-directory }} |
|
|
|
context: ${{ env.working-directory }} |
|
|
|
build-args: NC_VERSION=${{ steps.get-docker-repository.outputs.DOCKER_BUILD_TAG }} |
|
|
|
build-args: NC_VERSION=${{ steps.get-docker-repository.outputs.DOCKER_BUILD_TAG }} |
|
|
|