Skip to content

Commit

Permalink
dockerhub env
Browse files Browse the repository at this point in the history
  • Loading branch information
devincowan committed Feb 21, 2024
1 parent 73d9038 commit 49e6099
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/trigger-build-on-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Build and Publish to Registry on Github push
env:
GITHUB_SHA: ${{ github.sha }}
REGISTRY_HOSTNAME: docker.io
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
REPOSITORY: ${{ secrets.DOCKER_REPOSITORY }}

on:
Expand Down Expand Up @@ -33,8 +31,8 @@ jobs:
- name: Docker Hub Login
uses: docker/login-action@v3
with:
username: $DOCKER_USER
password: $DOCKER_PASSWORD
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Cache Docker layers
uses: actions/cache@v2
Expand Down

0 comments on commit 49e6099

Please sign in to comment.