mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
ci(api): pull using action
This commit is contained in:
parent
0ae6ee1632
commit
f1a74a0d68
1 changed files with 1 additions and 2 deletions
3
.github/workflows/api-push.yaml
vendored
3
.github/workflows/api-push.yaml
vendored
|
@ -21,13 +21,12 @@ jobs:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
registry: docker.pkg.github.com
|
registry: docker.pkg.github.com
|
||||||
- name: Pull existing
|
|
||||||
run: docker pull docker.pkg.github.com/engineer-man/piston/api
|
|
||||||
|
|
||||||
- name: Build and push API
|
- name: Build and push API
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
context: api
|
context: api
|
||||||
push: true
|
push: true
|
||||||
|
pull: true
|
||||||
tags: |
|
tags: |
|
||||||
docker.pkg.github.com/engineer-man/piston/api
|
docker.pkg.github.com/engineer-man/piston/api
|
Loading…
Add table
Add a link
Reference in a new issue