Skip to content
This repository was archived by the owner on Jun 12, 2026. It is now read-only.

Commit c9d9ea2

Browse files
committed
try again
1 parent 6052759 commit c9d9ea2

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

.github/workflows/haskell.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
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
@@ -44,6 +44,14 @@ jobs:
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:
@@ -70,6 +78,10 @@ jobs:
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

@@ -79,7 +91,7 @@ jobs:
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
@@ -88,7 +100,7 @@ jobs:
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

0 commit comments

Comments
 (0)