mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-25 03:28:37 +08:00
Compare commits
No commits in common. "730d6f294ab2ba5ab94dfeff90ac922943e65530" and "b5a70782cc4002bde19c5f08100781f3676b7b9a" have entirely different histories.
730d6f294a
...
b5a70782cc
16
.github/workflows/docker-build.yml
vendored
16
.github/workflows/docker-build.yml
vendored
@ -30,20 +30,10 @@ jobs:
|
|||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
id: build_image
|
id: build_image
|
||||||
run: |
|
run: |
|
||||||
docker build "$GITHUB_WORKSPACE" -t sickcodes/docker-osx:master --label dockerfile-path="Dockerfile"
|
docker build "$GITHUB_WORKSPACE" -t ${{ secrets.DOCKER_HUB_USER_NAME }}/docker-osx:$GITHUB_SHA --label dockerfile-path="Dockerfile"
|
||||||
|
|
||||||
- name: Label Master Docker Image as Latest
|
- name: Push Docker image
|
||||||
id: label_image
|
run: docker push ${{ secrets.DOCKER_HUB_USER_NAME }}/docker-osx:latest
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user