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
18
.github/workflows/build-tag.yml
vendored
18
.github/workflows/build-tag.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
|
IMAGE_NAME_WITH_INFCLOUD: parrazam/radicale-with-infcloud
|
||||||
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
|
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
GH_REPO: ghcr.io
|
GH_REPO: ghcr.io
|
||||||
|
|
||||||
|
@ -36,26 +37,27 @@ jobs:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Log into ${{ env.GH_REPO }} registry
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Log into registry ${{ env.REGISTRY }}
|
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.GH_REPO }}
|
registry: ${{ env.GH_REPO }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
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
|
- name: Extract Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v3
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
${{ env.IMAGE_NAME }}
|
${{ env.IMAGE_NAME }}
|
||||||
|
${{ env.IMAGE_NAME_WITH_INFCLOUD }}
|
||||||
${{ env.GH_REPO }}/${{ env.IMAGE_NAME }}
|
${{ env.GH_REPO }}/${{ env.IMAGE_NAME }}
|
||||||
tags: |
|
tags: |
|
||||||
type=match,pattern=\d.\d.\d.\d
|
type=match,pattern=\d.\d.\d.\d
|
||||||
|
|
Loading…
Reference in a new issue