This repository was archived by the owner on Jun 12, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 uses : actions/cache@v4
3636 with :
3737 path : ~/.ghcup
38- key : ${{ runner.os }}-ghc-9.6.7-v2 # <- bump once to avoid old empty cache
38+ key : ${{ runner.os }}-ghc-9.6.7-v3 # <- bump to avoid old invalid empty cache
3939
4040
4141 - name : Set up Haskell
4444 ghc-version : " 9.6.7"
4545 cabal-version : " 3.10.3.0"
4646
47+ - name : Check GHCUP Cache
48+ run : |
49+ echo "HOME ${{ env.HOME }}"
50+ echo " -- check .ghcup --"
51+ ls -ahl ~/.ghcup
52+ echo " -- check /home/runner/.ghcup --"
53+ ls -ahl /home/runner/.ghcup
54+
4755 - uses : actions/cache@v4
4856 id : cabal-cache
4957 with :
7078 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
7179 runs-on : ubuntu-22.04
7280
81+ env :
82+ ARTIFACTORY : dkistdc-docker.jfrog.io
83+
84+
7385 steps :
7486 - uses : actions/checkout@v4
7587
7991
8092 - name : Login to Artifactory
8193 run : |
82- docker login dkistdc-docker.jfrog.io --username ${{secrets.ARTIFACTORY_USER}} --password ${{secrets.ARTIFACTORY_PASSWORD}}
94+ docker login ${{env.ARTIFACTORY}} --username ${{secrets.ARTIFACTORY_USER}} --password ${{secrets.ARTIFACTORY_PASSWORD}}
8395
8496
8597 - name : Build and push
88100 context : .
89101 push : true
90102 tags : |
91- ${{ secrets.ARTIFACTORY_URL }}/level2:${{secrets.VERSION_PREFIX}}.${{ github.run_number }}
92- ${{ secrets.ARTIFACTORY_DOCKER_REGISTRY }}/level2:latest
103+ ${{ env.ARTIFACTORY }}/level2:${{secrets.VERSION_PREFIX}}.${{ github.run_number }}
104+ ${{ env.ARTIFACTORY }}/level2:latest
93105 cache-from : type=gha
94106 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments