Skip to content

Commit

Permalink
add workflow for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
aviramha committed Jan 7, 2024
1 parent f7d130b commit 947ab0c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-ip-visit-frontend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Release ip visit frontend
on:
push:
branches: [main]
workflow_dispatch:

jobs:
image:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
file: ip-visit-frontend/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
context: ip-visit-frontend/
push: true
tags: |
ghcr.io/metalbear-co/playground-ip-visit-frontend:latest

0 comments on commit 947ab0c

Please sign in to comment.