ci(api): update actions to latest version

This commit is contained in:
Thomas Hobson 2021-03-14 12:18:37 +13:00
parent 078033b4a1
commit b94c20b334
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 11 additions and 5 deletions

View File

@ -12,12 +12,18 @@ jobs:
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Build and push API
uses: docker/build-push-action@v1
- name: Login to GitHub registry
uses: docker/login-action@v1
with:
context: api
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: engineer-man/piston/piston-api
tag_with_ref: true
- name: Build and push API
uses: docker/build-push-action@v2
with:
context: api
push: true
repository:
tags: |
docker.pkg.github.com/engineer-man/piston-api