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