diff --git a/.github/workflows/unstable.yml b/.github/workflows/unstable.yml index 3fb1cf3..a377f57 100644 --- a/.github/workflows/unstable.yml +++ b/.github/workflows/unstable.yml @@ -1,11 +1,11 @@ -name: Publish Docker image +name: Publish Docker image Dotclear unstable on: push: jobs: - push_to_registries: - name: Push Docker image to multiple registries + push_to_docker_hub: + name: Push Docker image to registry runs-on: ubuntu-latest permissions: packages: write @@ -22,22 +22,13 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push Docker images + - name: Build and push Docker image id: push uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 with: context: . push: true - tags: | - jcpd/docker-dotclear:test - ghcr.io/docker-dotclear:test + tags: jcpd/docker-dotclear:test labels: docker-dotclear:test build-args: CANAL=unstable