Skip to content

Commit

Permalink
DockerHub Credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
Shéikh Adnan authored Mar 5, 2021
1 parent 314ec2b commit 6e7c0a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mirror-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:

env:
# Change these values if you have forked it for your own works
GitHubMail: "[email protected]"
GitHubName: "ElytrA8"
GitHubMail: ${{ secrets.GitHubMail }}
GitHubName: ${{ secrets.GitHubName }}

jobs:
build:
debug:
runs-on: ubuntu-20.04

steps:
Expand All @@ -36,6 +36,7 @@ jobs:
- name: Compile The Mirroring Docker Container
run: |
cd source || exit 1
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker container prune --force || true
docker build . --rm --force-rm --compress --no-cache=true --pull --file Dockerfile -t mirror-bot
docker image ls
Expand Down

0 comments on commit 6e7c0a8

Please sign in to comment.