Update docker-image.yml

This commit is contained in:
Shawn 2023-03-17 16:13:38 -04:00 committed by GitHub
parent d55bb3ce23
commit 0326bb277a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@ jobs:
uses: docker/metadata-action@v4.3.0 uses: docker/metadata-action@v4.3.0
with: with:
images: | images: |
# ${{ secrets.DOCKERHUB_USERNAME }}/$APP_NAME # ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.APP_NAME }}
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/$APP_NAME ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/${{ env.APP_NAME }}
tags: | tags: |
type=schedule type=schedule
type=ref,event=branch type=ref,event=branch
@ -68,7 +68,7 @@ jobs:
uses: docker/build-push-action@v4.0.0 uses: docker/build-push-action@v4.0.0
with: with:
context: . context: .
file: $DOCKER_FILE file: ${{ env.DOCKER_FILE }}
platforms: "linux/arm/v7,linux/arm64/v8,linux/amd64" platforms: "linux/arm/v7,linux/arm64/v8,linux/amd64"
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
@ -80,7 +80,7 @@ jobs:
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ secrets.DOCKERHUB_USERNAME }}/$APP_NAME repository: ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.APP_NAME }}
short-description: | short-description: |
a web interface to manage your torrents on Real-Debrid, AllDebrid or Premiumize. a web interface to manage your torrents on Real-Debrid, AllDebrid or Premiumize.
readme-filepath: ./README-DOCKER.md readme-filepath: ./README-DOCKER.md