mirror of
https://github.com/eliasstepanik/IonosDDNSUpdater.git
synced 2026-01-11 03:28:27 +00:00
Create docker-image.yml
This commit is contained in:
parent
3002c0b091
commit
417cf73a57
22
.github/workflows/docker-image.yml
vendored
Normal file
22
.github/workflows/docker-image.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build_n_push:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag saile2204/ionos_ddns_updater:$(date +%s)
|
||||
- name: Dockerhub Login
|
||||
run: docker login --username=${DOCKERUSERNAME} --password=${DOCKERPASSWORD}
|
||||
- name: Push to Dockerhub
|
||||
run: docker push saile2204/ionos_ddns_updater:$(date +%s)
|
||||
Loading…
x
Reference in New Issue
Block a user