Skip to content

Merge pull request #23 from jansule/codesprint-2024-companies #21

Merge pull request #23 from jansule/codesprint-2024-companies

Merge pull request #23 from jansule/codesprint-2024-companies #21

Workflow file for this run

name: hugo
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Checkout submodules
run: git submodule update --init --recursive
- name: hugo
uses: klakegg/[email protected]
with:
version: 0.75.1
image: ext-alpine
env: production
- name: set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Nexus
uses: docker/login-action@v1
with:
registry: nexus.terrestris.de
username: ${{ secrets.NEXUS_USERNAME }}
password: ${{ secrets.NEXUS_TOKEN }}
- name: build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
context: .
tags: |
nexus.terrestris.de/geostyler/geostyler-homepage:latest
nexus.terrestris.de/geostyler/geostyler-homepage:${{ github.ref_name }}