Skip to content

Commit

Permalink
Change registry
Browse files Browse the repository at this point in the history
  • Loading branch information
geekgonecrazy authored Jul 14, 2023
1 parent daeb434 commit f8f80bc
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-latest

# Service containers to run with `container-job`
#services:
# none currently

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -30,15 +25,6 @@ jobs:
with:
go-version: '>=1.19.0'
cache: false
- name: Download dependencies
run: |
git config --global url."https://rocketchat-cloudbot:[email protected]".insteadOf "https://github.com"
cd $__W_SRC_REL
go mod tidy
go mod download
env:
PRIVATE_REPO_ACCESS_KEY: ${{ secrets.PRIVATE_REPO_ACCESS_KEY }}
GOPRIVATE: github.com/RocketChat
- name: Build binary
run: |
cd $__W_SRC_REL
Expand All @@ -47,7 +33,6 @@ jobs:
- name: Login to Docker Registry
uses: docker/login-action@v2
with:
registry: dockerhub.com
username: ${{ secrets.DOCKERREGISTRY_USERNAME }}
password: ${{ secrets.DOCKERREGISTRY_PASSWORD }}
- name: Build and push
Expand All @@ -58,5 +43,5 @@ jobs:
platforms: linux/amd64
push: true
tags: |
dockerhub.com/airlock:${{github.sha}}
rocketchat/airlock:${{github.sha}}

1 comment on commit f8f80bc

@geekgonecrazy
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git rewrite history for the win 😂 No we didn't actually have dockerhub.com 😜

Please sign in to comment.