mirror of
https://github.com/kaiju/docker-gophernicus.git
synced 2025-04-13 09:30:16 +00:00
taking a stab at github actions
This commit is contained in:
parent
70f0469a49
commit
99717c4138
1 changed files with 20 additions and 0 deletions
20
.github/workflows/docker-publish.yml
vendored
Normal file
20
.github/workflows/docker-publish.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
name: docker-publish
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Setup Docker build
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
- name: Login to Docker hub
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||||
|
- name: Build and publish
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: joshkaiju/gophernicus:test
|
||||||
|
|
Loading…
Add table
Reference in a new issue