diff --git a/.github/workflows/cargo-check.yaml b/.github/workflows/cargo-check.yaml index 87f0acb..c46c00e 100644 --- a/.github/workflows/cargo-check.yaml +++ b/.github/workflows/cargo-check.yaml @@ -1,4 +1,4 @@ -name: cargo checks +name: Cargo checks on: pull_request: diff --git a/.github/workflows/docker-image-builds.yml b/.github/workflows/docker-image-builds.yml new file mode 100644 index 0000000..5aa42e1 --- /dev/null +++ b/.github/workflows/docker-image-builds.yml @@ -0,0 +1,16 @@ +name: Docker image builds + +on: pull_request + +concurrency: + group: pr-${{ github.ref }} + cancel-in-progress: true + +jobs: + validate-docker-image-builds: + name: Validate Docker image builds + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Docker build + run: "docker build --pull docker/." diff --git a/docker/Dockerfile b/docker/Dockerfile index 47a4eda..d12a2a9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM ponylang/ponyc:release-alpine +FROM ghcr.io/ponylang/ponyc:release-alpine COPY bin/compile.sh bin/evaluate.sh /usr/local/bin/ ENV CC=gcc