name: Build and Push to Registry on: [ push ] jobs: build: runs-on: ubuntu-latest container: catthehacker/ubuntu:act-latest steps: - name: Checkout uses: actions/checkout@v6 - name: Login to Gitea Registry uses: docker/login-action@v3 with: registry: git.reloia.uk username: reloia password: ${{ secrets.LOGIN_TOKEN }} - name: Build and Push (Shell) run: | IMAGE_NAME="git.reloia.uk/reloia/theplug:latest" echo "Building $IMAGE_NAME..." docker build -t "$IMAGE_NAME" . echo "Pushing $IMAGE_NAME..." docker push "$IMAGE_NAME"