Skip to content

Commit

Permalink
FIXME: stub out docker cache
Browse files Browse the repository at this point in the history
  • Loading branch information
danmatichuk committed Jun 18, 2024
1 parent b33b61e commit e6faca5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,11 @@ jobs:

# Pulls the latest image to try to re-use some layers
- name: Pull Latest Docker image
run: |
docker pull artifactory.galois.com:5025/pate/pate:${GITHUB_REF//\//\-} || \
docker pull artifactory.galois.com:5025/pate/pate:refs-heads-master || \
echo "No latest image found"
run: echo "No latest image found"

- name: Build Docker Image
run: |
docker build . \
--cache-from artifactory.galois.com:5025/pate/pate:${GITHUB_REF//\//\-} \
--cache-from artifactory.galois.com:5025/pate/pate:refs-heads-master \
-t pate
docker build . -t pate
- name: Test Docker Image
run: |
Expand Down

0 comments on commit e6faca5

Please sign in to comment.