Skip to content

Commit

Permalink
chore(ci): build devcontainer image
Browse files Browse the repository at this point in the history
  • Loading branch information
uonr committed Dec 25, 2023
1 parent 41eefcd commit 5314b16
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dev-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build Devcontainer Image
on:
push:
branches:
- master
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
push: true
file: .devcontainer/Dockerfile
tags: |
ghcr.io/${{ github.repository }}/devcontainer:latest

0 comments on commit 5314b16

Please sign in to comment.