Skip to content

Commit

Permalink
WIP: Attempt at building and caching the Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mec committed Nov 12, 2024
1 parent 87250c5 commit 90a091c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@ on:
- develop

jobs:
name: Build and cache image
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and cache image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
build-args: RAILS_ENV=test
push: false
tags: app_test:latest
cache-from: type=gha
cache-to: type=gha,mode=min

test:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 90a091c

Please sign in to comment.