Skip to content

Commit

Permalink
Added Dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyxalis committed Aug 5, 2024
1 parent 07eef85 commit 01e38eb
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: build dart
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
push:
branches:
- main
paths:
- docker/**
jobs:
push:
name: "base:${{ matrix.oses }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
oses:
- dart

steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: "nyxalis"
password: ${{ secrets.REGISTRY_TOKEN }}
- uses: docker/build-push-action@v5
with:
context: ./docker/${{ matrix.oses }}
file: ./docker/${{ matrix.oses }}/Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/nyxalis/base-env:${{ matrix.oses }}
2 changes: 1 addition & 1 deletion docker/dart/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/nyxalis/base:base
FROM ghcr.io/nyxalis/base-env:base

USER root

Expand Down
2 changes: 1 addition & 1 deletion docker/java/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/nyxalis/base:base
FROM ghcr.io/nyxalis/base-env:base

USER root

Expand Down
2 changes: 1 addition & 1 deletion docker/javascript/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/nyxalis/base:base
FROM ghcr.io/nyxalis/base-env:base

# nvm + node + pnpm
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
Expand Down

0 comments on commit 01e38eb

Please sign in to comment.