diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-06 19:25:55 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-05-06 19:25:55 +0200 |
| commit | 6fadfe3de8993f635bfd21b83897e1c3a9f0202e (patch) | |
| tree | 19f5cbcd1c6a0e3cacb06cc57639274f04fc946d | |
| parent | 1c92a27e14ffc6a617abbef420d94283aabf9b05 (diff) | |
ci: Use docker/build-push-action@v2
This change updates the publish workflow to use
docker/build-push-action@v2. The previous version is deprecated and does
not support some of the parameters that we need.
| -rw-r--r-- | .github/workflows/publish.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4c74bb36..cabebbd8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,7 +12,7 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - name: Push to Docker Hub - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} @@ -25,7 +25,7 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - name: Push to Docker Hub - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: context: opendc-web/opendc-web-api username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -39,7 +39,7 @@ jobs: - name: Check out the repo uses: actions/checkout@v2 - name: Push to Docker Hub - uses: docker/build-push-action@v1 + uses: docker/build-push-action@v2 with: context: opendc-web/opendc-web-ui username: ${{ secrets.DOCKERHUB_USERNAME }} |
