Skip to content

Commit

Permalink
Update docker-buildpush.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurMitchell42 <82239494+ArthurMitchell42@users.noreply.github.com>
  • Loading branch information
ArthurMitchell42 authored Dec 10, 2023
1 parent 298b6af commit f038552
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker-buildpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Docker Image build and push

on:
push:
# branches:
# - main
branches:
- main
- V0.2*
tags: [ "*" ]
# label:
# branches: [ "main" ]
Expand Down Expand Up @@ -33,4 +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,linux/arm/v7 --file Dockerfile --tag kronos443/nutcase:$GITHUB_REF_NAME-$(date +'%Y-%m-%d_%H-%M-%S') --push .
run: docker buildx build --platform linux/amd64,linux/arm64/v8,linux/arm/v7 --file Dockerfile --tag kronos443/nutcase:$GITHUB_REF_NAME --push .
# -$(date +'%Y-%m-%d_%H-%M-%S')

0 comments on commit f038552

Please sign in to comment.