Update unstable.yml
This commit is contained in:
parent
64cd30c9cd
commit
433a9c878b
1 changed files with 5 additions and 14 deletions
19
.github/workflows/unstable.yml
vendored
19
.github/workflows/unstable.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue