We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68c892f commit e0610d0Copy full SHA for e0610d0
.github/workflows/main.yml
@@ -1,16 +1,18 @@
1
-on: [push]
+name: Docker Image CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
jobs:
- hello_world_job:
10
11
+ build:
12
13
runs-on: ubuntu-latest
- name: A job to say hello
- steps:
- - name: Hello world action step
- id: hello
- uses: actions/arduino-core-testing
- with:
- who-to-greet: 'Mona the Octocat'
- # Use the output from the `hello` step
14
- - name: Get the output time
15
- run: echo "The time was "
16
+ steps:
+ - uses: actions/checkout@v3
17
+ - name: Build the Docker image
18
+ run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
0 commit comments