File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 4141 name : Build container
4242 run : ./bin/build_container
4343
44- - name : Check if container is already published
45- run : |
46- curl --silent -f --head -lL https://hub.docker.com/v2/repositories/riscvintl/spec-generator/tags/${{ env.TAG }}
47- echo "CURL_EXIT_CODE=$?" >> $GITHUB_ENV
48-
4944 - name : Upload singularity container
50- if : env.CURL_EXIT_CODE != '0'
5145 run : |
5246 singularity registry login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
5347 singularity push .singularity/image-${{ env.TAG }}.img oras://docker.io/riscvintl/spec-generator:${{ env.TAG }}
5751 env :
5852 DOCKER : 1
5953 steps :
54+ - name : Clone Github Repo Action
55+ uses : actions/checkout@v4
56+
6057 - name : Get container tag
6158 run : |
6259 TAG=$(cat bin/.container-tag)
You can’t perform that action at this time.
0 commit comments