File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 env :
2525 GH_TOKEN : ${{ github.token }}
2626
27- check_base_status :
28- runs-on : ubuntu-latest
29- steps :
30- - name : Clone base image
31- if : ${{ github.ref_type == 'tag' }}
32- uses : actions/checkout@v4
33- with :
34- repository : Vanilla-OS/pico-image
35-
36- - name : Check if the base is up to date
37- if : ${{ github.ref_type == 'tag' }}
38- run : |
39- git fetch origin
40- main_head=$( git rev-parse origin/main )
41- dev_head=$( git rev-parse origin/dev )
42- echo main branch is at: $main_head
43- echo dev branch is at: $dev_head
44- [ "$main_head" = "$dev_head" ]
45-
4627 build :
4728 runs-on : ubuntu-latest
48- needs : [verify-image, check_base_status ]
29+ needs : [verify-image]
4930 permissions :
5031 contents : write # Allow actions to create release
5132 packages : write # Allow pushing images to GHCR
You can’t perform that action at this time.
0 commit comments