aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/docker.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 24ed1b7..f332116 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -21,6 +21,7 @@ jobs:
-
name: Login to DockerHub
uses: docker/login-action@v1
+ if: github.repository == 'Rust-GCC/gccrs'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -29,5 +30,5 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
- push: true
+ push: ${{ github.repository == 'Rust-GCC/gccrs' }}
tags: philberty/gccrs:latest