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:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push_to_registries:
|
push_to_docker_hub:
|
||||||
name: Push Docker image to multiple registries
|
name: Push Docker image to registry
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
|
@ -22,22 +22,13 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Log in to the Container registry
|
- name: Build and push Docker image
|
||||||
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
|
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build and push Docker images
|
|
||||||
id: push
|
id: push
|
||||||
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
|
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: jcpd/docker-dotclear:test
|
||||||
jcpd/docker-dotclear:test
|
|
||||||
ghcr.io/docker-dotclear:test
|
|
||||||
labels: docker-dotclear:test
|
labels: docker-dotclear:test
|
||||||
build-args: CANAL=unstable
|
build-args: CANAL=unstable
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue