File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -33,21 +33,23 @@ jobs:
33
33
needs : build
34
34
if : github.ref == 'refs/heads/main'
35
35
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 }}
44
46
steps :
45
47
- uses : actions/checkout@v3
46
48
with :
47
49
fetch-depth : 0
48
50
- name : configure OSC
49
51
run : |
50
- /scripts/init_osc_creds.sh
51
52
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
53
55
- run : make dashboards-obs-commit
You can’t perform that action at this time.
0 commit comments