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