From 076d2adc07d526dbc3880f03ec33c6ccff507d42 Mon Sep 17 00:00:00 2001 From: Ludovic Cartier Date: Fri, 3 Jan 2025 20:07:52 +0100 Subject: [PATCH] re-enable all jobs & simplify action's version --- .gitea/workflows/docker.yml | 55 ++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index db11a42..9349322 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -12,38 +12,31 @@ jobs: container: image: debian:stable-slim steps: - - run: | + - name: manually install nodeJS + run: | apt update apt install -y nodejs -# - uses: actions/setup-node@v4 -# with: -# node-version: lts - # temp debug - - run: | - node -v - npm i -g yarn npm-check-updates + - uses: actions/checkout@v4 + with: + fetch-depth: 0 -# - uses: actions/checkout@v4 -# with: -# fetch-depth: 0 -# -# - uses: docker/setup-buildx-action@v3.8.0 -# -# - uses: docker/login-action@v3.3.0 -# with: -# registry: git.bbee.fr -# username: ${{ var.DOCKER_USERNAME }} -# password: ${{ secrets.DOCKER_API_TOKEN }} -# -# - uses: docker/build-push-action@v6.10.0 -# env: -# ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119 -# with: -# context: . -# file: ./Dockerfile -# platforms: | -# linux/amd64 -# linux/arm64 -# push: true -# tags: git.bbee.fr/${{ github.repository }}:latest + - uses: docker/setup-buildx-action@v3 + + - uses: docker/login-action@v3 + with: + registry: git.bbee.fr + username: ${{ var.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_API_TOKEN }} + + - uses: docker/build-push-action@v6 + env: + ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119 + with: + context: . + file: ./Dockerfile + platforms: | + linux/amd64 + linux/arm64 + push: true + tags: git.bbee.fr/${{ github.repository }}:latest