From a7e3c05f6c936b0ae4ed0446428f416b61e582e1 Mon Sep 17 00:00:00 2001 From: songyinyin Date: Thu, 8 Sep 2022 22:53:48 +0800 Subject: [PATCH] feat: add docker-compose sample, docker build tag latest --- .github/workflows/docker-image.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 702f8d0f..65635e0c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -2,9 +2,7 @@ name: Docker Image CI on: push: - branches: [ 4.1.1-docker-compose ] - tags: - - 'v*' + branches: [ master ] jobs: @@ -22,6 +20,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} repository: tjqq/powerjob-server tag_with_ref: true + tags: latest path: powerjob-server/docker/ - uses: docker/build-push-action@v1 with: @@ -29,6 +28,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} repository: tjqq/powerjob-agent tag_with_ref: true + tags: latest path: powerjob-worker-agent/ - uses: docker/build-push-action@v1 with: @@ -36,4 +36,5 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} repository: tjqq/powerjob-worker-samples tag_with_ref: true + tags: latest path: powerjob-worker-samples/ \ No newline at end of file