Skip to content

ci: 🎡 change ci to push image to docker #44

ci: 🎡 change ci to push image to docker

ci: 🎡 change ci to push image to docker #44

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "18"
- name: Install and Build
run: |
npm install -g yarn
yarn install --frozen-lockfile
yarn build
- name: Publish to Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: enquestor/dnd-website:latest