Skip to content

Merge pull request #16 from temporalio/dependabot/npm_and_yarn/svelte… #47

Merge pull request #16 from temporalio/dependabot/npm_and_yarn/svelte…

Merge pull request #16 from temporalio/dependabot/npm_and_yarn/svelte… #47

name: Docker
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3
- name: Log into registry ghcr.io
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push oms-web Docker image
uses: docker/[email protected]
with:
platforms: linux/amd64,linux/arm64
target: web
tags: ghcr.io/temporalio/reference-app-orders-web:latest
push: ${{ github.event_name != 'pull_request' }}