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