From cedbc8af9daf7fea01da37881e585d0c145a2bd8 Mon Sep 17 00:00:00 2001 From: log101 Date: Sun, 9 Jun 2024 14:50:46 +0300 Subject: [PATCH] ci: fix deploy script --- .gitea/workflows/push-registry.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/push-registry.yml b/.gitea/workflows/push-registry.yml index 8023a3f..ea14776 100644 --- a/.gitea/workflows/push-registry.yml +++ b/.gitea/workflows/push-registry.yml @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v4 # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here. - name: Log in to the Container registry - uses: docker/login-action + uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.REGISTRY_USER }} @@ -35,7 +35,9 @@ jobs: # It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step. - name: Build and push Docker image id: push - uses: docker/build-push-action + uses: docker/build-push-action@v5 with: context: . push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }}