mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Update GitHub Actions
This commit is contained in:
@@ -29,11 +29,6 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: read
|
contents: read
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platform:
|
|
||||||
- linux/amd64
|
|
||||||
- linux/arm64
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Check out the repo'
|
- name: 'Check out the repo'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -47,13 +42,13 @@ jobs:
|
|||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
- name: 'Log in to DockerHub'
|
- name: 'Log in to DockerHub'
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
- name: 'Apache variant metadata'
|
- name: 'Apache variant metadata'
|
||||||
id: metadata-apache
|
id: metadata-apache
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
@@ -70,11 +65,11 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.metadata-apache.outputs.tags }}
|
tags: ${{ steps.metadata-apache.outputs.tags }}
|
||||||
labels: ${{ steps.metadata-apache.outputs.labels }}
|
labels: ${{ steps.metadata-apache.outputs.labels }}
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
||||||
- name: 'FPM variant metadata'
|
- name: 'FPM variant metadata'
|
||||||
id: metadata-fpm
|
id: metadata-fpm
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
@@ -91,11 +86,11 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.metadata-fpm.outputs.tags }}
|
tags: ${{ steps.metadata-fpm.outputs.tags }}
|
||||||
labels: ${{ steps.metadata-fpm.outputs.labels }}
|
labels: ${{ steps.metadata-fpm.outputs.labels }}
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|
||||||
- name: 'FPM Alpine variant metadata'
|
- name: 'FPM Alpine variant metadata'
|
||||||
id: metadata-fpm-alpine
|
id: metadata-fpm-alpine
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
@@ -112,4 +107,4 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.metadata-fpm-alpine.outputs.tags }}
|
tags: ${{ steps.metadata-fpm-alpine.outputs.tags }}
|
||||||
labels: ${{ steps.metadata-fpm-alpine.outputs.labels }}
|
labels: ${{ steps.metadata-fpm-alpine.outputs.labels }}
|
||||||
platforms: ${{ matrix.platform }}
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
@@ -47,13 +47,13 @@ jobs:
|
|||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
- name: 'Log in to DockerHub'
|
- name: 'Log in to DockerHub'
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
- name: 'Apache variant metadata'
|
- name: 'Apache variant metadata'
|
||||||
id: metadata-apache
|
id: metadata-apache
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 'FPM variant metadata'
|
- name: 'FPM variant metadata'
|
||||||
id: metadata-fpm
|
id: metadata-fpm
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 'FPM Alpine variant metadata'
|
- name: 'FPM Alpine variant metadata'
|
||||||
id: metadata-fpm-alpine
|
id: metadata-fpm-alpine
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
docker.io/martialblog/limesurvey
|
docker.io/martialblog/limesurvey
|
||||||
|
|||||||
Reference in New Issue
Block a user