mirror of
https://github.com/parrazam/radicale-docker.git
synced 2024-11-22 06:33:24 +01:00
Update image release flow
This commit is contained in:
parent
bd0c1d2c8b
commit
f7b4b9da35
1 changed files with 10 additions and 8 deletions
16
.github/workflows/build-tag.yml
vendored
16
.github/workflows/build-tag.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
|||
|
||||
env:
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
IMAGE_NAME_WITH_INFCLOUD: parrazam/radicale-with-infcloud
|
||||
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
|
||||
GH_REPO: ghcr.io
|
||||
|
||||
|
@ -37,25 +38,26 @@ jobs:
|
|||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Log into registry ${{ env.REGISTRY }}
|
||||
- name: Log into ${{ env.GH_REPO }} registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ${{ env.GH_REPO }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Login to DockerHub registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
images: |
|
||||
${{ env.IMAGE_NAME }}
|
||||
${{ env.IMAGE_NAME_WITH_INFCLOUD }}
|
||||
${{ env.GH_REPO }}/${{ env.IMAGE_NAME }}
|
||||
tags: |
|
||||
type=match,pattern=\d.\d.\d.\d
|
||||
|
|
Loading…
Reference in a new issue