diff --git a/.gitea/workflows/cache-npx.yml b/.gitea/workflows/cache-npx.yml index 8353f8c..55f300d 100644 --- a/.gitea/workflows/cache-npx.yml +++ b/.gitea/workflows/cache-npx.yml @@ -44,12 +44,6 @@ jobs: path: /opt/docker-cache/.build-cache key: ${{ runner.os }}-${{ steps.meta.outputs.REPO_NAME }}-docker-build-cache - - name: Get Meta - id: meta - run: | - echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT - echo REPO_VERSION=$(echo ${{ github.ref }} | awk -F"/" '{print $3}' | awk -F"v" '{print $2}') >> $GITHUB_OUTPUT - - name: Build and push uses: docker/build-push-action@v4 with: @@ -60,6 +54,6 @@ jobs: linux/arm64 push: true tags: | - ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/action-demo:${{ steps.meta.outputs.REPO_VERSION }} + ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/action-demo:latest cache-from: type=local,src=/opt/docker-cache/.build-cache cache-to: type=local,dest=/opt/docker-cache/.build-cache,mode=max