Skip to content

Commit

Permalink
dfac
Browse files Browse the repository at this point in the history
  • Loading branch information
Masterjx9 committed Sep 13, 2022
1 parent 8af6c01 commit 609f2bd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
runs-on: ubuntu-latest

steps:
-
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 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: 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' }}
# - 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.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ RUN apt-get update && pip install --upgrade pip && pip install -r requirements.t
COPY . /app

# CMD ["python", "app.py"]
CMD ["bash"]
SHELL ["/bin/bash", "-c"]

# export DOCKER_DEFAULT_PLATFORM=linux/amd64

0 comments on commit 609f2bd

Please sign in to comment.