update build and push
This commit is contained in:
parent
3b9d671e7f
commit
9cb4f050b3
1 changed files with 11 additions and 10 deletions
21
.github/workflows/main.yml
vendored
21
.github/workflows/main.yml
vendored
|
|
@ -47,16 +47,16 @@ jobs:
|
||||||
# with:
|
# with:
|
||||||
# images: jingle3276/metube
|
# images: jingle3276/metube
|
||||||
|
|
||||||
- name: Build and push Docker image
|
# - name: Build and push Docker image
|
||||||
id: push
|
# id: push
|
||||||
uses: docker/build-push-action@v5
|
# uses: docker/build-push-action@v5
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
file: ./Dockerfile
|
# file: ./Dockerfile
|
||||||
push: true
|
# push: true
|
||||||
tags: |
|
# tags: |
|
||||||
${{ secrets.DOCKERHUB_REPOSITORY }}:latest
|
# ${{ secrets.DOCKERHUB_REPOSITORY }}:latest
|
||||||
${{ secrets.DOCKERHUB_REPOSITORY }}:${{ steps.date.outputs.date }}
|
# ${{ secrets.DOCKERHUB_REPOSITORY }}:${{ steps.date.outputs.date }}
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
|
|
@ -69,6 +69,7 @@ jobs:
|
||||||
jingle3276/metube:latest
|
jingle3276/metube:latest
|
||||||
jingle3276/metube:${{ steps.date.outputs.date }}
|
jingle3276/metube:${{ steps.date.outputs.date }}
|
||||||
|
|
||||||
|
|
||||||
# dockerhub-sync-readme:
|
# dockerhub-sync-readme:
|
||||||
# needs: dockerhub-build-push
|
# needs: dockerhub-build-push
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue