fix: docker hub releasing
This commit is contained in:
parent
263dc8a98d
commit
e90caeac32
1 changed files with 8 additions and 13 deletions
21
.github/workflows/scheduler.release.dev.yml
vendored
21
.github/workflows/scheduler.release.dev.yml
vendored
|
@ -58,22 +58,17 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build image
|
||||
run: yarn docker build @standardnotes/scheduler-server -t standardnotes/scheduler
|
||||
- name: Publish to Registry (dev tag)
|
||||
uses: manusa/actions-publish-docker@v1.1.2
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
name: standardnotes/scheduler
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
tag: "dev"
|
||||
- name: Publish to Registry (sha tag)
|
||||
uses: manusa/actions-publish-docker@v1.1.2
|
||||
with:
|
||||
name: standardnotes/scheduler
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
tag: "${{ github.sha }}"
|
||||
- name: Build, tag, and push image to Docker Hub
|
||||
run: |
|
||||
yarn docker build @standardnotes/scheduler-server -t standardnotes/scheduler:${{ github.sha }}
|
||||
docker push standardnotes/scheduler:${{ github.sha }}
|
||||
docker tag standardnotes/scheduler:${{ github.sha }} standardnotes/scheduler:dev
|
||||
docker push standardnotes/scheduler:dev
|
||||
|
||||
deploy-worker:
|
||||
needs: publish-aws-ecr
|
||||
|
|
Loading…
Reference in a new issue