mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: add docker-compose sample, docker build tag latest
This commit is contained in:
parent
5b865fe49b
commit
a7e3c05f6c
7
.github/workflows/docker-image.yml
vendored
7
.github/workflows/docker-image.yml
vendored
@ -2,9 +2,7 @@ name: Docker Image CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ 4.1.1-docker-compose ]
|
branches: [ master ]
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
@ -22,6 +20,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: tjqq/powerjob-server
|
repository: tjqq/powerjob-server
|
||||||
tag_with_ref: true
|
tag_with_ref: true
|
||||||
|
tags: latest
|
||||||
path: powerjob-server/docker/
|
path: powerjob-server/docker/
|
||||||
- uses: docker/build-push-action@v1
|
- uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
@ -29,6 +28,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: tjqq/powerjob-agent
|
repository: tjqq/powerjob-agent
|
||||||
tag_with_ref: true
|
tag_with_ref: true
|
||||||
|
tags: latest
|
||||||
path: powerjob-worker-agent/
|
path: powerjob-worker-agent/
|
||||||
- uses: docker/build-push-action@v1
|
- uses: docker/build-push-action@v1
|
||||||
with:
|
with:
|
||||||
@ -36,4 +36,5 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
repository: tjqq/powerjob-worker-samples
|
repository: tjqq/powerjob-worker-samples
|
||||||
tag_with_ref: true
|
tag_with_ref: true
|
||||||
|
tags: latest
|
||||||
path: powerjob-worker-samples/
|
path: powerjob-worker-samples/
|
Loading…
x
Reference in New Issue
Block a user