Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Daranix committed Jun 25, 2023
1 parent 8da82d5 commit 95f7bbb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Convert repository name to lowercase
id: lowercase-repo
run: echo "::set-output name=repository::$(echo ${GITHUB_REPOSITORY} | tr '[:upper:]' '[:lower:]')"

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ghrc.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Convert repository name to lowercase
id: lowercase-repo
run: echo "::set-output name=repository::$(echo ${GITHUB_REPOSITORY} | tr '[:upper:]' '[:lower:]')"

- name: Build and push
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit 95f7bbb

Please sign in to comment.