From b94c20b3340f6b704afc6438a512306f4f68abc4 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sun, 14 Mar 2021 12:18:37 +1300 Subject: [PATCH] ci(api): update actions to latest version --- .github/workflows/api-push.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/api-push.yaml b/.github/workflows/api-push.yaml index 653e642..9055637 100644 --- a/.github/workflows/api-push.yaml +++ b/.github/workflows/api-push.yaml @@ -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 \ No newline at end of file + + - 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 \ No newline at end of file