diff --git a/.github/workflows/docker-hub.yml b/.github/workflows/docker-hub.yml index 8b8421d..01e364c 100644 --- a/.github/workflows/docker-hub.yml +++ b/.github/workflows/docker-hub.yml @@ -9,24 +9,28 @@ jobs: name: Push Docker image to drydockcloud/ci-cypress in Docker Hub runs-on: ubuntu-latest steps: - - name: Check out the repo - uses: actions/checkout@v3 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Log in to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Extract metadata (tags, labels) for Docker id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: drydockcloud/ci-cypress - name: Build and push Docker image - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: + platforms: linux/amd64,linux/arm64 context: . push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/Dockerfile b/Dockerfile index 62ec7c4..9eebe66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM cypress/included:12.17.1 +FROM cypress/included:11.2.0 # Drydock environment setup LABEL exposed.command.single=cypress