tmp: publish image to docker hub

This commit is contained in:
Karol Sójko
2024-05-21 08:16:53 +02:00
parent 18bdb93907
commit 2f2ea00591

View File

@@ -183,13 +183,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Publish SNJS Docker image as stable
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
run: |
docker pull standardnotes/snjs:${{ github.sha }}
docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:latest