Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/noatgnu/curtain
Browse files Browse the repository at this point in the history
  • Loading branch information
noatgnu committed Oct 26, 2024
2 parents c010b37 + d32fbe0 commit 89a7ff8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test Docker Build

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Build Docker image
run: |
docker build --build-arg API_HOST=https://example.com/ --build-arg ORCID_APPID=APP-EXAMPLE123 -t curtain-app .
- name: Verify Docker image
run: |
docker images | grep curtain-app

0 comments on commit 89a7ff8

Please sign in to comment.