diff --git a/.gitea/workflows/build_container.yml b/.gitea/workflows/build_container.yml index 087e18b..8258e61 100644 --- a/.gitea/workflows/build_container.yml +++ b/.gitea/workflows/build_container.yml @@ -12,12 +12,21 @@ jobs: image: mgoltzsche/podman:5.7.1-minimal steps: + - name: Install Node.js + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get update && apt-get install -y nodejs + - name: Checkout code uses: actions/checkout@v3 - name: Build container image + env: + REGISTRY: https://gitea.papryk.com + IMAGE_NAME: Papryk/dj-spangebob + TAG: ${{ gitea.ref_name }} run: | - podman build my-image:latest . + podman build "$REGISTRY/$IMAGE_NAME:$TAG" . - name: Log in to Docker registry env: