Compare commits
2 Commits
f24f1a45a7
...
1edb5ad046
Author | SHA1 | Date |
---|---|---|
Thomas | 1edb5ad046 | |
Thomas | 75e30ee6d3 |
|
@ -21,6 +21,12 @@ jobs:
|
|||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: docker.pkg.github.com
|
||||
- name: Login to ghcr.io
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: ghcr.io
|
||||
|
||||
- name: Build and push API
|
||||
uses: docker/build-push-action@v2
|
||||
|
@ -29,4 +35,5 @@ jobs:
|
|||
push: true
|
||||
pull: true
|
||||
tags: |
|
||||
docker.pkg.github.com/engineer-man/piston/api
|
||||
docker.pkg.github.com/engineer-man/piston/api
|
||||
ghcr.io/engineer-man/piston
|
||||
|
|
|
@ -26,3 +26,4 @@ RUN make -C ./src/nosocket/ all && make -C ./src/nosocket/ install
|
|||
|
||||
CMD [ "node", "src", "-m", "-c", "/piston/config.yaml"]
|
||||
EXPOSE 2000/tcp
|
||||
|
||||
|
|
Loading…
Reference in New Issue