Update latest snjs image in Docker Hub - skip e2e

This commit is contained in:
Karol Sójko
2024-05-21 08:08:16 +02:00
parent 478b5955ba
commit 18bdb93907
2 changed files with 1 additions and 3 deletions

View File

@@ -53,14 +53,12 @@ jobs:
- name: Build
run: yarn build:snjs
- 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 for E2E testing
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
run: |
yarn docker build @standardnotes/snjs -t standardnotes/snjs:${{ github.sha }}
docker push standardnotes/snjs:${{ github.sha }}