diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index de8d7d4..c6992c9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -104,6 +104,33 @@ jobs: provenance: false tags: ${{ env.TAGLIST }} + update: + name: Update + runs-on: ubuntu-latest + needs: [publish] + + steps: + - name: Checkout repository + # https://github.com/marketplace/actions/checkout + uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Login to Docker Hub + # https://github.com/marketplace/actions/docker-login + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Login to GitHub Container Registry + # https://github.com/marketplace/actions/docker-login + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Update repo description # https://github.com/marketplace/actions/docker-hub-description uses: peter-evans/dockerhub-description@v3