1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-06-05 13:11:47 +02:00
checkout/.github/workflows/docker-image.yml
Workflow config file is invalid. Please check your config file: yaml: line 4: mapping values are not allowed in this context
Dev-Re2906 649b78847d
Update docker-image.yml
publish
2025-05-29 09:36:18 +03:30

21 lines
366 B
YAML

git add .
git commit -m "Ready for publish"
git push origin main
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 Dockerfile --tag my-image-name:$(date +%s)