We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dbb9a0 commit 0448c21Copy full SHA for 0448c21
.github/workflows/container.yml
@@ -41,13 +41,7 @@ jobs:
41
name: Build container
42
run: ./bin/build_container
43
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
-
49
- name: Upload singularity container
50
- if: env.CURL_EXIT_CODE != '0'
51
run: |
52
singularity registry login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
53
singularity push .singularity/image-${{ env.TAG }}.img oras://docker.io/riscvintl/spec-generator:${{ env.TAG }}
@@ -57,6 +51,9 @@ jobs:
57
env:
58
DOCKER: 1
59
steps:
54
+ - name: Clone Github Repo Action
55
+ uses: actions/checkout@v4
56
+
60
- name: Get container tag
61
62
TAG=$(cat bin/.container-tag)
0 commit comments