From 9a73da01533f3a7280e130f99a08ddf7a9bd328c Mon Sep 17 00:00:00 2001 From: James Brumond Date: Fri, 18 Aug 2023 20:13:53 -0700 Subject: [PATCH] try stg deploy again with new manifest tagging --- .gitea/workflows/deploy-stg.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy-stg.yaml b/.gitea/workflows/deploy-stg.yaml index 5ebd9d2..ef228c5 100644 --- a/.gitea/workflows/deploy-stg.yaml +++ b/.gitea/workflows/deploy-stg.yaml @@ -23,11 +23,14 @@ jobs: username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} - - name: Tag "latest" with "stg" - run: | - docker pull gitea.jbrumond.me/doc-utils/docs-web:latest - docker tag gitea.jbrumond.me/doc-utils/docs-web:latest gitea.jbrumond.me/doc-utils/docs-web:stg - docker push gitea.jbrumond.me/doc-utils/docs-web:stg + - name: Re-tag "latest" with "stg" + uses: https://gitea.jbrumond.me/actions/docker-tag@v0.1 + with: + registry: https://gitea.jbrumond.me + image: doc-utils/docs-web + old-tag: latest + new-tags: | + stg deploy: runs-on: ubuntu-latest