This commit is contained in:
Job
2024-12-21 10:33:05 +01:00
commit 9aa384c1a3
11 changed files with 268 additions and 0 deletions

24
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,24 @@
name: Build devcontainer
on:
push:
schedule:
- cron: '0 16 * * FRI'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: |
ghcr.io/${{ github.actor }}/devcontainer:latest