Skip to content

Commit

Permalink
ci: init
Browse files Browse the repository at this point in the history
lol this is gonna end badly
  • Loading branch information
CodingKoopa committed Jan 10, 2024
1 parent e03dbd6 commit a87decd
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'Build and Deploy'
on:
push:
branches:
- 'main'
jobs:
build_deploy:
runs-on: 'ubuntu-22-04'
# See: https://github.com/docker/build-push-action
steps:
# Docs: https://github.com/docker/setup-qemu-action
- name: 'Setup QEMU to emulate other platforms'
uses: 'docker/setup-qemu-action@v3'
# Docs: https://github.com/docker/setup-buildx-action
- name: 'Setup Docker Buildx'
uses: 'docker/setup-buildx-action@v3'
# Docs: https://github.com/docker/login-action
# TODO: make HackBU account
# - name: Login to Docker Hub
# uses: docker/login-action@v3
- name: 'Build and push'
uses: 'docker/build-push-action@v5'
with:
context: '.'
file: '{context}/Dockerfile.pnpm'
platforms: 'linux/amd64,linux/arm64'
# TODO
push: 'false'

0 comments on commit a87decd

Please sign in to comment.