⚗️ testing
All checks were successful
Run Unit Tests / run-unit-tests (push) Successful in 6s

This commit is contained in:
DrMaxNix 2024-09-17 13:46:20 +02:00
parent 28936d7faa
commit f8dcfc9b7c
2 changed files with 1 additions and 18 deletions

View File

@ -66,19 +66,12 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
#labels: |
# org.opencontainers.image.licenses=MIT
# org.opencontainers.image.url=https://www.drmaxnix.de
#annotations: |
# org.opencontainers.image.licenses=MIT
# org.opencontainers.image.url=https://www.drmaxnix.de
- name: Build and Push Docker Images
uses: docker/build-push-action@v6
with:
context: .
#platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm/v6,linux/arm/v7
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}

View File

@ -1,14 +1,4 @@
FROM alpine:latest
RUN apk --update add bash python3 py3-virtualenv py3-pip git && rm -rf /var/cache/apk/*
RUN apk --update add python3-dev openssl-dev libssl3 libffi-dev && rm -rf /var/cache/apk/*
RUN git clone https://github.com/etesync/server.git /opt/etebase
WORKDIR /opt/etebase
RUN virtualenv -p python3 .venv
RUN .venv/bin/pip3 install -r requirements.txt
# NOTE: Workaround, since some packages seem to be missing in requirements.txt (see https://github.com/etesync/server/issues/185)
RUN .venv/bin/pip3 install tzdata
COPY VERSION /VERSION
COPY entrypoint.sh /entrypoint.sh