mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
ci(package): login to registry
This commit is contained in:
parent
0ff42adeaa
commit
41e036d93c
1 changed files with 7 additions and 0 deletions
7
.github/workflows/package-pr.yaml
vendored
7
.github/workflows/package-pr.yaml
vendored
|
@ -18,6 +18,13 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Login to GitHub registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: docker.pkg.github.com
|
||||
|
||||
- name: Build Packages
|
||||
run: |
|
||||
docker run -v $(pwd)'/repo:/piston/repo' -v $(pwd)'/packages:/piston/packages' docker.pkg.github.com/engineer-man/piston/repo-builder $(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} | awk -F/ '{ print $2 "-" $3 }' | sort -u) --no-server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue