Skip to content

Commit

Permalink
Update calibre-fullserver-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ridgarou authored Oct 4, 2020
1 parent 019ceab commit dabc34e
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/calibre-fullserver-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: all
# platforms: all
platforms: linux/arm64,linux/arm/v7

- name: Set up Docker Buildx
id: buildx
Expand All @@ -39,11 +40,25 @@ jobs:

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}


- name: Docker Login
# You may pin to the exact commit or the version.
# uses: docker/login-action@34d5f75b0d6d0d22f06d83acf2fa1b144409ec83
uses: docker/login-action@v1.4.1
with:
# Server address of Docker registry. If not set then will default to Docker Hub
registry: ${{ env.DOCKER_REGISTRY_URL }} # optional
# Username used to log against the Docker registry
username: ${{ env.DOCKER_USERNAME }} # optional
# Password or personal access token used to log against the Docker registry
password: ${{ env.DOCKER_PASSWORD }}
# Log out from the Docker registry at the end of a job
logout: true # optional, default is true

- name: Build and push Docker images
# You may pin to the exact commit or the version.
# uses: docker/build-push-action@ab83648e2e224cfeeab899e23b639660765c3a89
uses: docker/build-push-action@v1.1.1
uses: docker/build-push-action@v2
with:
# Username used to log in to a Docker registry. If not set then no login will occur
username: ${{ env.DOCKER_USERNAME }} # optional
Expand Down

0 comments on commit dabc34e

Please sign in to comment.