Skip to content

Commit

Permalink
Update docker-buildpush.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurMitchell42 <[email protected]>
  • Loading branch information
ArthurMitchell42 authored Dec 10, 2023
1 parent 1f9adb7 commit 32b01ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-buildpush.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Docker Image CI
name: Docker Image build and push

on:
push:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
label:
branches: [ "main" ]

env:
# Use docker.io for Docker Hub if empty
Expand All @@ -31,5 +31,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:$(date +%s) --push .
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 .

0 comments on commit 32b01ed

Please sign in to comment.