mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
simpilified and chnaged
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
0d488d0b62
commit
2687f8aad7
37
.github/workflows/publish-docker.yml
vendored
37
.github/workflows/publish-docker.yml
vendored
@ -3,18 +3,41 @@
|
|||||||
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
||||||
# Code is Apache-2.0 and docs are CC-BY-4.0
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
||||||
|
|
||||||
---
|
|
||||||
name: publish-docker
|
name: publish-docker
|
||||||
on:
|
on: [workflow_dispatch,push]
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish-docker:
|
audit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Get the repository's code
|
- name: Checkout repository
|
||||||
- name: Checkout
|
uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
- name: Setup python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: 3.9
|
||||||
|
|
||||||
|
- name: Install pip-audit
|
||||||
|
run: pip install --upgrade pip pip-audit
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install .
|
||||||
|
|
||||||
|
- name: Create requirements.txt
|
||||||
|
run: pip freeze > requirements.txt
|
||||||
|
|
||||||
|
- name: Audit dependencies
|
||||||
|
run: pip-audit
|
||||||
|
|
||||||
|
|
||||||
|
# publish-docker:
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
# steps:
|
||||||
|
# # Get the repository's code
|
||||||
|
# - name: Checkout
|
||||||
|
# uses: actions/checkout@v2
|
||||||
# https://github.com/docker/setup-qemu-action
|
# https://github.com/docker/setup-qemu-action
|
||||||
#- name: Set up QEMU
|
#- name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v1
|
# uses: docker/setup-qemu-action@v1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user