🐳 Adding a Docker hub push step

This commit is contained in:
2021-09-15 09:20:34 -07:00
committed by GitHub
parent c3587df058
commit 3add60276b

21
.github/workflows/docker-image1.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
- uses: opspresso/action-docker@v0.3.9
- name: Docker Push