Skip to content

Commit

Permalink
create simple build-docker-image.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliy-ostapchuk93 authored May 14, 2024
1 parent a08400a commit fe87368
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file ./.devcontainer/Dockerfile --tag cpp-dev-sandbox:$(date +%s) --tag cpp-dev-sandbox:latest

0 comments on commit fe87368

Please sign in to comment.