tmp: publish image to docker hub
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -183,13 +183,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
|
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- name: Publish SNJS Docker image as stable
|
- name: Publish SNJS Docker image as stable
|
||||||
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
|
|
||||||
run: |
|
run: |
|
||||||
docker pull standardnotes/snjs:${{ github.sha }}
|
docker pull standardnotes/snjs:${{ github.sha }}
|
||||||
docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:latest
|
docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user