|
@@ -3,31 +3,30 @@ name: DockerHub
|
|
on:
|
|
on:
|
|
workflow_dispatch:
|
|
workflow_dispatch:
|
|
schedule:
|
|
schedule:
|
|
- - cron: '0 0 * * 1'
|
|
|
|
|
|
+ - cron: "0 0 * * 1"
|
|
push:
|
|
push:
|
|
branches:
|
|
branches:
|
|
- main
|
|
- main
|
|
tags:
|
|
tags:
|
|
- - '*.*.*'
|
|
|
|
|
|
+ - "*.*.*"
|
|
paths-ignore:
|
|
paths-ignore:
|
|
- - 'test/*'
|
|
|
|
- - '.gitignore'
|
|
|
|
- - 'docker-compose-separate-containers.yml'
|
|
|
|
- - 'docker-compose.yml'
|
|
|
|
- - 'LICENSE'
|
|
|
|
- - 'Makefile'
|
|
|
|
- - '*.md'
|
|
|
|
|
|
+ - "test/*"
|
|
|
|
+ - ".gitignore"
|
|
|
|
+ - "docker-compose-separate-containers.yml"
|
|
|
|
+ - "docker-compose.yml"
|
|
|
|
+ - "LICENSE"
|
|
|
|
+ - "Makefile"
|
|
|
|
+ - "*.md"
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
multiarch-build-debian:
|
|
multiarch-build-debian:
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
steps:
|
|
-
|
|
|
|
- name: Checkout
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
uses: actions/checkout@v2
|
|
with:
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
-
|
|
|
|
|
|
+
|
|
- name: Retrieve version
|
|
- name: Retrieve version
|
|
run: echo "GIT_DESCRIBE=$(git describe --tags)" >> $GITHUB_ENV
|
|
run: echo "GIT_DESCRIBE=$(git describe --tags)" >> $GITHUB_ENV
|
|
|
|
|
|
@@ -54,11 +53,11 @@ jobs:
|
|
uses: docker/setup-buildx-action@v1
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
|
|
- name: Login to DockerHub
|
|
- name: Login to DockerHub
|
|
- uses: docker/login-action@v1
|
|
|
|
|
|
+ uses: docker/login-action@v1
|
|
with:
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
-
|
|
|
|
|
|
+
|
|
- name: Log in to GitHub Container Registry
|
|
- name: Log in to GitHub Container Registry
|
|
uses: docker/login-action@v1
|
|
uses: docker/login-action@v1
|
|
with:
|
|
with:
|
|
@@ -84,12 +83,11 @@ jobs:
|
|
multiarch-build-alpine:
|
|
multiarch-build-alpine:
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
steps:
|
|
-
|
|
|
|
- name: Checkout
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
uses: actions/checkout@v2
|
|
with:
|
|
with:
|
|
fetch-depth: 0
|
|
fetch-depth: 0
|
|
-
|
|
|
|
|
|
+
|
|
- name: Retrieve version
|
|
- name: Retrieve version
|
|
run: echo "GIT_DESCRIBE=$(git describe --tags)" >> $GITHUB_ENV
|
|
run: echo "GIT_DESCRIBE=$(git describe --tags)" >> $GITHUB_ENV
|
|
|
|
|
|
@@ -117,11 +115,11 @@ jobs:
|
|
uses: docker/setup-buildx-action@v1
|
|
uses: docker/setup-buildx-action@v1
|
|
|
|
|
|
- name: Login to DockerHub
|
|
- name: Login to DockerHub
|
|
- uses: docker/login-action@v1
|
|
|
|
|
|
+ uses: docker/login-action@v1
|
|
with:
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
-
|
|
|
|
|
|
+
|
|
- name: Log in to GitHub Container Registry
|
|
- name: Log in to GitHub Container Registry
|
|
uses: docker/login-action@v1
|
|
uses: docker/login-action@v1
|
|
with:
|
|
with:
|