Compare commits

...

3 Commits

Author SHA1 Message Date
sickcodes
730d6f294a rename build id's in action
Some checks failed
Push Docker Image to Docker Hub / Push Docker Image to Docker Hub (push) Failing after 57s
2024-11-18 15:00:53 +00:00
sickcodes
93c2119ebc Label images correctly in yaml 2024-11-18 14:59:41 +00:00
sickcodes
fb8aa4b248 Push latest 2024-11-18 13:24:20 +00:00

View File

@ -30,10 +30,20 @@ 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:$GITHUB_SHA --label dockerfile-path="Dockerfile" docker build "$GITHUB_WORKSPACE" -t sickcodes/docker-osx:master --label dockerfile-path="Dockerfile"
- name: Push Docker image - name: Label Master Docker Image as Latest
run: docker push ${{ secrets.DOCKER_HUB_USER_NAME }}/docker-osx:latest id: label_image
run: |
docker tag sickcodes/docker-osx:master sickcodes/docker-osx:latest
- name: Push Docker image master
id: push_master
run: docker push sickcodes/docker-osx:master
- name: Push Docker image latest
id: push_latest
run: docker push sickcodes/docker-osx:latest
- name: Logout from Docker Hub - name: Logout from Docker Hub
run: docker logout run: docker logout