mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 21:46:27 +02:00
chore: update naming to Endercheif
This commit is contained in:
parent
cbc4db7ada
commit
ff7318cbb3
11 changed files with 27 additions and 28 deletions
7
.github/workflows/api-push.yaml
vendored
7
.github/workflows/api-push.yaml
vendored
|
@ -2,8 +2,7 @@ name: Publish API image
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- v3
|
||||
- production
|
||||
paths:
|
||||
- api/**
|
||||
|
||||
|
@ -34,5 +33,5 @@ jobs:
|
|||
push: true
|
||||
pull: true
|
||||
tags: |
|
||||
docker.pkg.github.com/engineer-man/piston/api
|
||||
ghcr.io/engineer-man/piston
|
||||
docker.pkg.github.com/Endercheif/piston/api
|
||||
ghcr.io/Endercheif/piston
|
||||
|
|
6
.github/workflows/package-pr.yaml
vendored
6
.github/workflows/package-pr.yaml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
run: |
|
||||
PACKAGES=$(jq '.[]' -r ${HOME}/files*.json | awk -F/ '$1~/packages/ && $2 && $3{ print $2 "-" $3 }' | sort -u)
|
||||
echo "Packages: $PACKAGES"
|
||||
docker pull docker.pkg.github.com/engineer-man/piston/repo-builder:latest
|
||||
docker pull docker.pkg.github.com/Endercheif/piston/repo-builder:latest
|
||||
docker build -t repo-builder repo
|
||||
docker run -v "${{ github.workspace }}:/piston" repo-builder --no-server $PACKAGES
|
||||
ls -la packages
|
||||
|
@ -89,8 +89,8 @@ jobs:
|
|||
- name: Run tests
|
||||
run: |
|
||||
ls -la
|
||||
docker run -v $(pwd)'/repo:/piston/repo' -v $(pwd)'/packages:/piston/packages' -d --name repo docker.pkg.github.com/engineer-man/piston/repo-builder --no-build
|
||||
docker pull docker.pkg.github.com/engineer-man/piston/api
|
||||
docker run -v $(pwd)'/repo:/piston/repo' -v $(pwd)'/packages:/piston/packages' -d --name repo docker.pkg.github.com/Endercheif/piston/repo-builder --no-build
|
||||
docker pull docker.pkg.github.com/Endercheif/piston/api
|
||||
docker build -t piston-api api
|
||||
docker run --network container:repo -v $(pwd)'/data:/piston' -e PISTON_LOG_LEVEL=DEBUG -e 'PISTON_REPO_URL=http://localhost:8000/index' -d --name api piston-api
|
||||
echo Waiting for API to start..
|
||||
|
|
6
.github/workflows/package-push.yaml
vendored
6
.github/workflows/package-push.yaml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: |
|
||||
PACKAGES=$(jq '.[]' -r ${HOME}/files*.json | awk -F/ '$1~/packages/ && $2 && $3{ print $2 "-" $3 }' | sort -u)
|
||||
echo "Packages: $PACKAGES"
|
||||
docker pull docker.pkg.github.com/engineer-man/piston/repo-builder:latest
|
||||
docker pull docker.pkg.github.com/Endercheif/piston/repo-builder:latest
|
||||
docker build -t repo-builder repo
|
||||
docker run -v "${{ github.workspace }}:/piston" repo-builder --no-server $PACKAGES
|
||||
ls -la packages
|
||||
|
@ -51,11 +51,11 @@ jobs:
|
|||
needs: build-pkg
|
||||
steps:
|
||||
- name: 'Download all release assets'
|
||||
run: curl -s https://api.github.com/repos/engineer-man/piston/releases/latest | jq '.assets[].browser_download_url' -r | xargs -L 1 curl -sLO
|
||||
run: curl -s https://api.github.com/repos/Endercheif/piston/releases/latest | jq '.assets[].browser_download_url' -r | xargs -L 1 curl -sLO
|
||||
- name: 'Generate index file'
|
||||
run: |
|
||||
echo "" > index
|
||||
BASEURL=https://github.com/engineer-man/piston/releases/download/pkgs/
|
||||
BASEURL=https://github.com/Endercheif/piston/releases/download/pkgs/
|
||||
for pkg in *.pkg.tar.gz
|
||||
do
|
||||
PKGFILE=$(basename $pkg)
|
||||
|
|
2
.github/workflows/repo-push.yaml
vendored
2
.github/workflows/repo-push.yaml
vendored
|
@ -28,4 +28,4 @@ jobs:
|
|||
pull: true
|
||||
push: true
|
||||
tags: |
|
||||
docker.pkg.github.com/engineer-man/piston/repo-builder
|
||||
docker.pkg.github.com/Endercheif/piston/repo-builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue