|
|
@ -10,26 +10,26 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Login to GitHub
|
|
|
|
- name: Login to GitHub
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
registry: ghcr.io
|
|
|
|
registry: ghcr.io
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
password: ${{ secrets.CR_PAT }}
|
|
|
|
password: ${{ secrets.CR_PAT }}
|
|
|
|
- name: Login to GitLab
|
|
|
|
- name: Login to GitLab
|
|
|
|
uses: docker/login-action@v1
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
registry: registry.gitlab.com
|
|
|
|
registry: registry.gitlab.com
|
|
|
|
username: ${{ secrets.GITLAB_USERNAME }}
|
|
|
|
username: ${{ secrets.GITLAB_USERNAME }}
|
|
|
|
password: ${{ secrets.GITLAB_TOKEN }}
|
|
|
|
password: ${{ secrets.GITLAB_TOKEN }}
|
|
|
|
- name: Sync GitHub README.md with Docker Hub
|
|
|
|
- name: Sync GitHub README.md with Docker Hub
|
|
|
|
uses: peter-evans/dockerhub-description@v2
|
|
|
|
uses: peter-evans/dockerhub-description@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_PASSWORD }} # NOTE: This MUST be the password NOT the token
|
|
|
|
password: ${{ secrets.DOCKERHUB_PASSWORD }} # NOTE: This MUST be the password NOT the token
|
|
|
@ -61,7 +61,7 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
test_tag=$(date +%Y%m%d%H%M%S)
|
|
|
|
test_tag=$(date +%Y%m%d%H%M%S)
|
|
|
|
echo "[debug] Generated test tag name is '${test_tag}'"
|
|
|
|
echo "[debug] Generated test tag name is '${test_tag}'"
|
|
|
|
echo "::set-output name=test_tag::$test_tag"
|
|
|
|
echo "::echo "test_tag=$test_tag" >> $GITHUB_OUTPUT"
|
|
|
|
id: generate_temporary_tag_name
|
|
|
|
id: generate_temporary_tag_name
|
|
|
|
- name: Generate app name
|
|
|
|
- name: Generate app name
|
|
|
|
shell: bash
|
|
|
|
shell: bash
|
|
|
|