main to master, -ng typo

This commit is contained in:
sickcodes 2024-11-18 07:07:00 +00:00
parent 342c09eb2a
commit 61b21421f6

View File

@ -3,7 +3,7 @@ name: Push Docker Image to Docker Hub
on: on:
push: push:
branches: branches:
- main - master
jobs: jobs:
push_to_docker_hub: push_to_docker_hub:
@ -30,10 +30,10 @@ jobs:
- name: Build Docker image - name: Build Docker image
id: build_image id: build_image
run: | run: |
docker build "$GITHUB_WORKSPACE" -t ${{ secrets.DOCKER_HUB_USER_NAME }}/docker-osx-ng:$GITHUB_SHA --label dockerfile-path="Dockerfile" docker build "$GITHUB_WORKSPACE" -t ${{ secrets.DOCKER_HUB_USER_NAME }}/docker-osx:$GITHUB_SHA --label dockerfile-path="Dockerfile"
- name: Push Docker image - name: Push Docker image
run: docker push ${{ secrets.DOCKER_HUB_USER_NAME }}/docker-osx-ng:$GITHUB_SHA run: docker push ${{ secrets.DOCKER_HUB_USER_NAME }}/docker-osx:$GITHUB_SHA
- name: Logout from Docker Hub - name: Logout from Docker Hub
run: docker logout run: docker logout