|
|
|
@ -12,43 +12,43 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
- name: Set up QEMU for multi-arch support
|
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
|
- name: Login to Docker Hub
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
- name: Login to GitHub
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
registry: ghcr.io
|
|
|
|
|
username: ${{ github.repository_owner }}
|
|
|
|
|
password: ${{ secrets.CR_PAT }}
|
|
|
|
|
- name: Login to Quay
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
registry: quay.io
|
|
|
|
|
username: ${{ secrets.QUAY_USERNAME }}
|
|
|
|
|
password: ${{ secrets.QUAY_TOKEN }}
|
|
|
|
|
- name: Login to GitLab
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
|
uses: docker/login-action@v3
|
|
|
|
|
with:
|
|
|
|
|
registry: registry.gitlab.com
|
|
|
|
|
username: ${{ secrets.GITLAB_USERNAME }}
|
|
|
|
|
password: ${{ secrets.GITLAB_TOKEN }}
|
|
|
|
|
- name: Sync GitHub README.md with Docker Hub
|
|
|
|
|
uses: peter-evans/dockerhub-description@v3
|
|
|
|
|
uses: peter-evans/dockerhub-description@v4
|
|
|
|
|
with:
|
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
|
password: ${{ secrets.DOCKERHUB_PASSWORD }} # NOTE: This MUST be the password NOT the token
|
|
|
|
|
repository: ${{ github.repository }}
|
|
|
|
|
short-description: ${{ github.event.repository.description }}
|
|
|
|
|
- name: DEBUG Show Runners environment
|
|
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
|
uses: nick-fields/retry@v3
|
|
|
|
|
with:
|
|
|
|
|
timeout_minutes: 5
|
|
|
|
|
max_attempts: 3
|
|
|
|
|