Update unstable.yml

This commit is contained in:
Jean-Christian Paul Denis 2024-11-13 10:46:32 +01:00 committed by GitHub
parent 64cd30c9cd
commit 433a9c878b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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