mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
CI/CD Tests
This commit is contained in:
parent
721f4ff289
commit
c9dc61be8a
2 changed files with 9 additions and 58 deletions
49
.github/workflows/dockerbuild.alpine.yml
vendored
49
.github/workflows/dockerbuild.alpine.yml
vendored
|
@ -1,49 +0,0 @@
|
||||||
name: Docker Build Alpine
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- new-tests
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
#
|
|
||||||
# Checkout
|
|
||||||
#
|
|
||||||
- name: checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
#
|
|
||||||
# Setup QEMU
|
|
||||||
#
|
|
||||||
- name: Set up QEMU
|
|
||||||
id: qemu
|
|
||||||
uses: docker/setup-qemu-action@v1
|
|
||||||
# with:
|
|
||||||
# image: tonistiigi/binfmt:latest
|
|
||||||
# platforms: all
|
|
||||||
#
|
|
||||||
# Setup Buildx
|
|
||||||
#
|
|
||||||
- name: install buildx
|
|
||||||
id: buildx
|
|
||||||
uses: docker/setup-buildx-action@v1
|
|
||||||
with:
|
|
||||||
install: true
|
|
||||||
#
|
|
||||||
# Login to Docker Hub
|
|
||||||
#
|
|
||||||
- name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
||||||
#
|
|
||||||
# Build
|
|
||||||
#
|
|
||||||
- name: build the image
|
|
||||||
run: |
|
|
||||||
docker build --push \
|
|
||||||
--tag hkotel/mealie:alpine \
|
|
||||||
--platform linux/amd64,linux/arm/v7,linux/arm64 .
|
|
18
.github/workflows/pytest.yml
vendored
18
.github/workflows/pytest.yml
vendored
|
@ -30,15 +30,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
virtualenvs-create: true
|
virtualenvs-create: true
|
||||||
virtualenvs-in-project: true
|
virtualenvs-in-project: true
|
||||||
#----------------------------------------------
|
# #----------------------------------------------
|
||||||
# load cached venv if cache exists
|
# # load cached venv if cache exists
|
||||||
#----------------------------------------------
|
# #----------------------------------------------
|
||||||
- name: Load cached venv
|
# - name: Load cached venv
|
||||||
id: cached-poetry-dependencies
|
# id: cached-poetry-dependencies
|
||||||
uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
with:
|
# with:
|
||||||
path: .venv
|
# path: .venv
|
||||||
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
|
# key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
# install dependencies if cache does not exist
|
# install dependencies if cache does not exist
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue