Hugo version v0.121.2 #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image release | |
on: | |
release: | |
types: | |
- released | |
jobs: | |
BuildImages: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clean Workspace | |
uses: AutoModality/action-clean@v1 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Docker login | |
uses: docker/login-action@v3 | |
with: | |
username: floryn90 | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Prepare | |
run: make prepare | |
- name: Build | |
run: make build | |
- name: Upload target content | |
uses: actions/upload-artifact@v3 | |
with: | |
name: target | |
path: target | |
- name: Test Docsy | |
run: sudo make test-docsy | |
- name: Test DocuAPI | |
run: sudo make test-docuapi | |
- name: Push images | |
if: startsWith(github.ref, 'refs/tags/') | |
run: make push-release | |
- name: Docker Hub Description | |
uses: peter-evans/dockerhub-description@v3 | |
with: | |
username: floryn90 | |
password: ${{ secrets.DOCKER_TOKEN }} | |
repository: floryn90/hugo |