Compare commits
6 Commits
0a469cdc32
...
c62488b34d
Author | SHA1 | Date |
---|---|---|
dependabot[bot] | c62488b34d | |
dependabot[bot] | e0248d4ae8 | |
dependabot[bot] | d6fc51c5dd | |
dependabot[bot] | cc401ce584 | |
dependabot[bot] | fb169301b6 | |
parra | 91f4f96c9d |
|
@ -10,7 +10,7 @@ on:
|
|||
env:
|
||||
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
|
||||
GH_REPO: ghcr.io
|
||||
|
||||
jobs:
|
||||
|
@ -25,7 +25,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
id: qemu
|
||||
|
@ -36,24 +36,24 @@ jobs:
|
|||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log into ${{ env.GH_REPO }} registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.GH_REPO }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Log into DockerHub registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: |
|
||||
${{ env.GH_REPO }}/${{ env.IMAGE_NAME }}
|
||||
|
@ -62,7 +62,7 @@ jobs:
|
|||
|
||||
- name: Build image and push snapshot to GitHub Container Registry
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: ${{ env.PLATFORMS }}
|
||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install cosign
|
||||
uses: sigstore/cosign-installer@main
|
||||
|
@ -36,24 +36,24 @@ jobs:
|
|||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log into ${{ env.GH_REPO }} registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.GH_REPO }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Login to DockerHub registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Extract Docker metadata
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: |
|
||||
${{ env.IMAGE_NAME }}
|
||||
|
@ -69,7 +69,7 @@ jobs:
|
|||
|
||||
- name: Build image and push to Docker Hub and GitHub Container Registry
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
build-args: VERSION=${{ github.ref_name }}
|
||||
|
|
Loading…
Reference in New Issue