Skip to content

debug buildapplist endpoint #830

debug buildapplist endpoint

debug buildapplist endpoint #830

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: main
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push, pull_request]
env:
imagetag: ${{ github.head_ref || github.ref_name || 'dev' }}
branch: ${{ github.head_ref || github.ref_name || 'dev' }}
node_version: '20'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
# runs-on: self-hosted
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
- name: Perform Bandit Analysis
uses: PyCQA/bandit-action@v1
- name: create version
run: |
./mkversion.sh
cat version.json
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: https://ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: .
file: Dockerfile
push: true
build-args: |
branch:${{ env.branch }}
tags: |
ghcr.io/abcdesktopio/pyos:${{ env.imagetag }}