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 b322ee6 commit 6756ff4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-buildpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Docker Image build and push

on:
push:
# branches:
# - main
branches:
- main
tags: [ "*" ]
# label:
# branches: [ "main" ]
Expand Down Expand Up @@ -33,5 +33,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,linux/arm/v7 --file Dockerfile --tag kronos443/nutcase:$(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-$(date +'%Y-%m-%d_%H-%M-%S') --push .

0 comments on commit 6756ff4

Please sign in to comment.