From ad3c0e9d3a0457c86d4044b7ebfdafde9455703d Mon Sep 17 00:00:00 2001 From: Stefano Torresi Date: Fri, 10 Feb 2023 12:16:22 +0100 Subject: [PATCH] update dashboard ci --- .github/workflows/dashboards-ci.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dashboards-ci.yml b/.github/workflows/dashboards-ci.yml index fa464b3..06e4d9f 100644 --- a/.github/workflows/dashboards-ci.yml +++ b/.github/workflows/dashboards-ci.yml @@ -33,21 +33,23 @@ jobs: needs: build if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest - container: shap/continuous_deliver - env: - OBS_USER: ${{ secrets.OBS_USER }} - OBS_PASS: ${{ secrets.OBS_PASS }} - OBS_PROJECT: ${{ secrets.OBS_PROJECT }} - REVISION: ${{ github.sha }} - REPOSITORY: ${{ github.repository }} - GITHUB_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + container: + image: ghcr.io/trento-project/continuous-delivery:main + options: -u 0:0 + env: + OBS_USER: ${{ secrets.OBS_USER }} + OBS_PASS: ${{ secrets.OBS_PASS }} + OBS_PROJECT: ${{ secrets.OBS_PROJECT }} + REVISION: ${{ github.sha }} + REPOSITORY: ${{ github.repository }} + GITHUB_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - name: configure OSC run: | - /scripts/init_osc_creds.sh mkdir -p $HOME/.config/osc - cp /root/.config/osc/oscrc $HOME/.config/osc + cp /home/osc/.config/osc/oscrc $HOME/.config/osc + /scripts/init_osc_creds.sh - run: make dashboards-obs-commit