Skip to content

Commit ad3c0e9

Browse files
update dashboard ci
1 parent ec7b275 commit ad3c0e9

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/dashboards-ci.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,23 @@ jobs:
3333
needs: build
3434
if: github.ref == 'refs/heads/main'
3535
runs-on: ubuntu-latest
36-
container: shap/continuous_deliver
37-
env:
38-
OBS_USER: ${{ secrets.OBS_USER }}
39-
OBS_PASS: ${{ secrets.OBS_PASS }}
40-
OBS_PROJECT: ${{ secrets.OBS_PROJECT }}
41-
REVISION: ${{ github.sha }}
42-
REPOSITORY: ${{ github.repository }}
43-
GITHUB_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
container:
37+
image: ghcr.io/trento-project/continuous-delivery:main
38+
options: -u 0:0
39+
env:
40+
OBS_USER: ${{ secrets.OBS_USER }}
41+
OBS_PASS: ${{ secrets.OBS_PASS }}
42+
OBS_PROJECT: ${{ secrets.OBS_PROJECT }}
43+
REVISION: ${{ github.sha }}
44+
REPOSITORY: ${{ github.repository }}
45+
GITHUB_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4446
steps:
4547
- uses: actions/checkout@v3
4648
with:
4749
fetch-depth: 0
4850
- name: configure OSC
4951
run: |
50-
/scripts/init_osc_creds.sh
5152
mkdir -p $HOME/.config/osc
52-
cp /root/.config/osc/oscrc $HOME/.config/osc
53+
cp /home/osc/.config/osc/oscrc $HOME/.config/osc
54+
/scripts/init_osc_creds.sh
5355
- run: make dashboards-obs-commit

0 commit comments

Comments
 (0)