Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterjx9 authored Sep 13, 2022
1 parent e88d72a commit 00fdc1f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ jobs:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
# -
# name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# -
# name: Login to DockerHub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Build image and push to Docker Hub and GitHub Container Registry
# uses: docker/build-push-action@v2
# with:
# # Note: tags has to be all lower-case
# tags: |
# masterjx9/vgmify:latest
# # build on feature branches, push only on main branch
# push: ${{ github.ref == 'refs/heads/main' }}
### ⬇ IMPORTANT PART ⬇ ###
- name: Build image and push to Docker Hub and GitHub Container Registry
uses: docker/build-push-action@v2
with:
# Note: tags has to be all lower-case
tags: |
masterjx9/vgmify:latest
# build on feature branches, push only on main branch
push: ${{ github.ref == 'refs/heads/main' }}
## ⬇ IMPORTANT PART ⬇ ###

# Check-out your repository.
- name: Checkout
Expand Down

0 comments on commit 00fdc1f

Please sign in to comment.