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 dabc34e commit 84f5550
Showing 1 changed file with 10 additions and 23 deletions.
33 changes: 10 additions & 23 deletions .github/workflows/calibre-fullserver-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
# platforms: all
platforms: linux/arm64,linux/arm/v7
platforms: all
# platforms: linux/arm64,linux/arm/v7

- name: Set up Docker Buildx
id: buildx
Expand Down Expand Up @@ -56,29 +56,16 @@ jobs:
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@v2
with:
# Username used to log in to a Docker registry. If not set then no login will occur
username: ${{ env.DOCKER_USERNAME }} # optional
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur
password: ${{ env.DOCKER_PASSWORD }} # optional
# Server address of Docker registry. If not set then will default to Docker Hub
registry: ${{ env.DOCKER_REGISTRY_URL }} # optional
# Docker repository to tag the image with
repository: ${{ env.DOCKER_IMAGE_NAME }}
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
tags: latest, ${{ env.FLAG }} # optional
# Path to the build context
path: . # optional, default is .
context: . # optional, default is .
# Path to the Dockerfile (Default is '{path}/Dockerfile')
dockerfile: ./Dockerfile # optional
# Always attempt to pull a newer version of the image
#always_pull: # optional
# Comma-delimited list of build-time variables
#build_args: # optional
# Comma-delimited list of labels to add to the built image
#labels: # optional
# Whether to push the image
file: ./Dockerfile # optional
tags: |
${{ env.DOCKER_IMAGE_NAME }}:latest
${{ env.DOCKER_IMAGE_NAME }}:${{ env.FLAG }}
platforms: |
linux/arm64
linux/arm/v7
push: true # optional, default is true

0 comments on commit 84f5550

Please sign in to comment.