Skip to content

Commit

Permalink
Merge branch 'main' into V0.3.2
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurMitchell42 <[email protected]>
  • Loading branch information
ArthurMitchell42 authored Mar 1, 2024
2 parents 736df05 + 3536f4d commit 8699bc0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-build-latest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Docker build latest and push

on:
workflow_dispatch
push:
tags: [ "*_release", "*_latest" ]
# workflow_dispatch

env:
# Use docker.io for Docker Hub if empty
Expand All @@ -28,4 +30,4 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build the Docker image
run: docker buildx build --platform linux/amd64,linux/arm64/v8 --file nutcase/docker/Dockerfile --tag ${{ env.IMAGE_NAME }}:latest --push .
run: docker buildx build --platform linux/amd64,linux/arm64/v8 --file nutcase/docker/Dockerfile --tag ${{ env.IMAGE_NAME }}:$GITHUB_REF_NAME --tag ${{ env.IMAGE_NAME }}:latest --push .
4 changes: 2 additions & 2 deletions .github/workflows/docker-buildpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
# branches:
# - main
# - V0.3*
tags: [ "*" ]
tags: [ "*_pr", "*_tag", "*_build" ]
# label:
# branches: [ "main" ]

Expand Down Expand Up @@ -34,5 +34,5 @@ jobs:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build the Docker image
run: docker buildx build --platform linux/amd64,linux/arm64/v8 --file nutcase/docker/Dockerfile --tag kronos443/nutcase:$GITHUB_REF_NAME --push .
run: docker buildx build --platform linux/amd64,linux/arm64/v8 --file nutcase/docker/Dockerfile --tag ${{ env.IMAGE_NAME }}:$GITHUB_REF_NAME --push .
# -$(date +'%Y-%m-%d_%H-%M-%S')

0 comments on commit 8699bc0

Please sign in to comment.