Updated workflow
This commit is contained in:
parent
7616637612
commit
2f30cb5223
1 changed files with 13 additions and 10 deletions
23
.github/workflows/docker-image.yml
vendored
23
.github/workflows/docker-image.yml
vendored
|
|
@ -3,6 +3,8 @@ name: Docker Image CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
|
@ -10,6 +12,7 @@ permissions:
|
||||||
env:
|
env:
|
||||||
APP_NAME: rdt-client
|
APP_NAME: rdt-client
|
||||||
DOCKER_FILE: ./Dockerfile
|
DOCKER_FILE: ./Dockerfile
|
||||||
|
DOCKER_PLATFORMS: "linux/arm/v7,linux/arm64/v8,linux/amd64"
|
||||||
ENABLE_DOCKERHUB: 0
|
ENABLE_DOCKERHUB: 0
|
||||||
ENABLE_GHCR: 1
|
ENABLE_GHCR: 1
|
||||||
|
|
||||||
|
|
@ -69,7 +72,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ${{ env.DOCKER_FILE }}
|
file: ${{ env.DOCKER_FILE }}
|
||||||
platforms: "linux/arm/v7,linux/arm64/v8,linux/amd64"
|
platforms: ${{ env.DOCKER_PLATFORMS }}
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
@ -85,12 +88,12 @@ jobs:
|
||||||
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
|
||||||
|
|
||||||
- name: Github Registry Description
|
# - name: Github Registry Description
|
||||||
if: ${{ env.ENABLE_GHCR == 1 }}
|
# if: ${{ env.ENABLE_GHCR == 1 }}
|
||||||
uses: peter-evans/dockerhub-description@v3.3.0
|
# uses: peter-evans/dockerhub-description@v3.3.0
|
||||||
with:
|
# with:
|
||||||
username: ${{ github.repository_owner }}
|
# username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
# password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue