This commit is contained in:
parent
8432ba06b5
commit
f4a9899342
@ -24,3 +24,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
|
|
||||||
|
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: tea.heili.eu
|
||||||
|
username: lukas
|
||||||
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
run: |
|
||||||
|
docker build -t tea.heili.eu/lukas/myhugotest:latest .
|
||||||
|
docker push tea.heili.eu/lukas/myhugotest:latest
|
||||||
|
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM nginx:latest
|
||||||
|
|
||||||
|
COPY public/ /usr/share/nginx/html/
|
Loading…
Reference in New Issue
Block a user