1
0
Fork 0
mirror of https://github.com/parrazam/radicale-docker.git synced 2024-11-25 07:19:11 +01:00

Update image release flow

This commit is contained in:
parra 2022-04-13 14:25:47 +02:00
parent bd0c1d2c8b
commit f7b4b9da35

View file

@ -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