mirror of
https://github.com/michivonah/themepark-alerts.git
synced 2025-12-22 20:36:27 +01:00
create github action for automated docker hub publishing
This commit is contained in:
parent
2f67d5bb9a
commit
ff4f5e10ae
1 changed files with 18 additions and 0 deletions
18
.github/workflows/dockerhub-autopublishing.yml
vendored
Normal file
18
.github/workflows/dockerhub-autopublishing.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: Docker-Hub-Autopublishing
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: debian-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build docker image and push to docker hub
|
||||
run: |
|
||||
echo "${{ secrets.DOCKER_TOKEN }}" | docker login -u michivonah --password-stdin
|
||||
docker image build -t michivonah/ep-alerts:latest .
|
||||
docker push michivonah/ep-alerts:latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue