We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21bbd00 commit 43bd979Copy full SHA for 43bd979
.github/workflows/ publish-devcontainer.yaml
@@ -0,0 +1,24 @@
1
+name: Publish devcontainer on docker hub
2
+on:
3
+ workflow_dispatch:
4
+ push:
5
+ branches:
6
+ - main
7
+jobs:
8
+ publish-devcontainer:
9
+ name: Publish devcontainer
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Login to Docker Hub
13
+ uses: docker/login-action@v3
14
+ with:
15
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
16
+ password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
17
+ - name: Install docker buildx
18
+ uses: docker/setup-buildx-action@v3
19
+ - name: Build and push
20
+ uses: docker/build-push-action@v6
21
22
+ file: ./.devcontainer/Dockerfile
23
+ push: true
24
+ tags: dhglennvl/cpp-devcontainer:latest
0 commit comments