Create dockerimage.yml
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
24
dockerimage.yml
Normal file
24
dockerimage.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: Docker Image CI
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: Build the Docker image
|
||||||
|
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
||||||
|
- name: Docker Publish
|
||||||
|
uses: manusa/actions-publish-docker@v1.0.1
|
||||||
|
with:
|
||||||
|
# Name of the Docker image
|
||||||
|
name: m42e/bibreminder
|
||||||
|
# Username for Docker registry
|
||||||
|
username: ${{ secrets.Dockeruser }}
|
||||||
|
# Password for Docker registry
|
||||||
|
password: ${{ secrets.Dockerpassword }}
|
||||||
|
|
||||||
Reference in New Issue
Block a user