Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez authored Dec 2, 2024
1 parent 41d124f commit 617a80e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker Image CI

Check warning on line 1 in .github/workflows/docker-image.yml

View workflow job for this annotation

GitHub Actions / yaml-lint

1:1 [document-start] missing document start "---"

on:

Check warning on line 3 in .github/workflows/docker-image.yml

View workflow job for this annotation

GitHub Actions / yaml-lint

3:1 [truthy] truthy value should be one of [false, true]
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

build:

runs-on: ubuntu-latest

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

0 comments on commit 617a80e

Please sign in to comment.