|
|
@ -12,43 +12,43 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up QEMU for multi-arch support
|
|
|
|
- name: Set up QEMU for multi-arch support
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
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@v2
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
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 Quay
|
|
|
|
- name: Login to Quay
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
registry: quay.io
|
|
|
|
registry: quay.io
|
|
|
|
username: ${{ secrets.QUAY_USERNAME }}
|
|
|
|
username: ${{ secrets.QUAY_USERNAME }}
|
|
|
|
password: ${{ secrets.QUAY_TOKEN }}
|
|
|
|
password: ${{ secrets.QUAY_TOKEN }}
|
|
|
|
- name: Login to GitLab
|
|
|
|
- name: Login to GitLab
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
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@v3
|
|
|
|
uses: peter-evans/dockerhub-description@v4
|
|
|
|
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
|
|
|
|
repository: ${{ github.repository }}
|
|
|
|
repository: ${{ github.repository }}
|
|
|
|
short-description: ${{ github.event.repository.description }}
|
|
|
|
short-description: ${{ github.event.repository.description }}
|
|
|
|
- name: DEBUG Show Runners environment
|
|
|
|
- name: DEBUG Show Runners environment
|
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
uses: nick-fields/retry@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
timeout_minutes: 5
|
|
|
|
timeout_minutes: 5
|
|
|
|
max_attempts: 3
|
|
|
|
max_attempts: 3
|
|
|
|