Update docker-image.yml

This commit is contained in:
mins
2024-10-10 11:32:30 -04:00
committed by GitHub
parent eb07477b29
commit ce9668e0cf

View File

@@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build and push the Docker image - name: Build and push the Docker image
run: docker buildx build . --push --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/my-image-name:$(date +%s) run: docker build . --push --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/my-image-name:$(date +%s)
build_arm64: build_arm64:
runs-on: self-hosted runs-on: self-hosted
@@ -33,4 +33,4 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build and push the Docker image - name: Build and push the Docker image
run: docker build . --push --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/my-image-name:$(date +%s) run: docker buildx build . --push --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/my-image-name:$(date +%s)