mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-17 06:14:21 +01:00
Arm64 docker build
This commit is contained in:
committed by
benthecarman
parent
706e137625
commit
4b23571254
12
.github/workflows/docker.yml
vendored
12
.github/workflows/docker.yml
vendored
@@ -1,11 +1,10 @@
|
||||
name: Create and publish amd64 Docker image
|
||||
name: Create and publish Docker images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags: [ "*" ]
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
@@ -22,7 +21,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||
@@ -41,7 +45,7 @@ jobs:
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
@@ -9,7 +9,7 @@ COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
# I think we need git be here because the vite build wants to look up the commit hash
|
||||
RUN apt update && apt install -y git
|
||||
RUN apt update && apt install -y git python3 make build-essential
|
||||
|
||||
# Add the ARG directives for build-time environment variables
|
||||
ARG VITE_NETWORK="bitcoin"
|
||||
|
||||
Reference in New Issue
Block a user