name: dev on: push: branches: - '*' paths: - '.ci/tag.env' jobs: build-and-push: runs-on: docker steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Gitea Registry uses: docker/login-action@v3 with: registry: git.4nkweb.com username: ${{ secrets.USER }} password: ${{ secrets.TOKEN }} - name: Init submodules (ensure up-to-date) run: | git submodule sync --recursive git submodule update --init --recursive - name: Build and push images env: REGISTRY: git.4nkweb.com run: | DOCKER_TAG=$(git rev-parse --abbrev-ref HEAD) bash scripts/build_and_push.sh "$DOCKER_TAG"