Skip to content

Commit 7a0a9a0

Browse files
committed
Fix environment var formatting
1 parent c3d8ea1 commit 7a0a9a0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/push.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Push
22

33
on: [push, workflow_dispatch]
4-
54
env:
65
BUILDX_CACHE: /tmp/.buildx-cache
76
CACHE_KEY: docker-erddap-buildx-
@@ -22,10 +21,10 @@ jobs:
2221
- name: Cache Docker layers
2322
uses: actions/cache@v2
2423
with:
25-
path: ${{ BUILDX_CACHE }}
26-
key: ${{ CACHE_KEY }}${{ github.sha }}
24+
path: ${ BUILDX_CACHE }
25+
key: ${ CACHE_KEY }${{ github.sha }}
2726
restore-keys: |
28-
${{ CACHE_KEY }}
27+
${ CACHE_KEY }
2928
3029
- name: Login to Docker Hub
3130
uses: docker/login-action@v1
@@ -39,8 +38,8 @@ jobs:
3938
with:
4039
push: false
4140
tags: axiom/docker-erddap:latest
42-
cache-from: type=local,src=${{ BUILDX_CACHE }}
43-
cache-to: type=local,dest=${{ BUILDX_CACHE }}
41+
cache-from: type=local,src=${ BUILDX_CACHE }
42+
cache-to: type=local,dest=${ BUILDX_CACHE }
4443

4544
- name: Run Docker Image in Background
4645
run: docker run -d -p 8080:8080 axiom/docker-erddap:latest
@@ -68,8 +67,8 @@ jobs:
6867
- name: Cache Docker layers
6968
uses: actions/cache@v2
7069
with:
71-
path: ${{ BUILDX_CACHE }}
72-
key: ${{ CACHE_KEY }}${{ github.sha }}
70+
path: ${ BUILDX_CACHE }
71+
key: ${ CACHE_KEY }${{ github.sha }}
7372
restore-keys: |
7473
${{ CACHE_KEY }}
7574
@@ -84,5 +83,5 @@ jobs:
8483
with:
8584
push: true
8685
tags: axiom/docker-erddap:latest
87-
cache-from: type=local,src=${{ BUILDX_CACHE }}
88-
cache-to: type=local,dest=${{ BUILDX_CACHE }}
86+
cache-from: type=local,src=${ BUILDX_CACHE }
87+
cache-to: type=local,dest=${ BUILDX_CACHE }

0 commit comments

Comments
 (0)