Skip to content

Release 0.13.3.0.

Release 0.13.3.0. #11

Workflow file for this run

jobs:
push-docker-image:
name: "Build and push Docker Image to Docker Hub Registry"
runs-on: ubuntu-latest
steps:
- name: "Set up GitHub Actions"
uses: actions/[email protected]
- name: "Set up Nix"
uses: cachix/install-nix-action@v27
- name: "Set up Cachix"
uses: cachix/cachix-action@v15
with:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
name: jumper149-mensam
- name: "Log in to Docker Hub"
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Build Docker Image"
run: nix build ".#dockerImages.default" --print-build-logs
- name: "Load Docker Image"
run: docker load --input result
- name: "Set Docker Image Tag"
run: docker tag mensam:${GITHUB_SHA} jumper149/mensam:${GITHUB_REF#refs/tags/}
- name: "Push Docker Image to Docker Hub"
run: docker push jumper149/mensam:${GITHUB_REF#refs/tags/}
name: "Release"
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+.[0-9]+'