Skip to content

Commit b4ce1bf

Browse files
authored
Update the docker build workflows (#12)
Merging this even if there is one unit test that fails. The code should not be touching this, so hopefully it will work when merged.
1 parent 9c03a2f commit b4ce1bf

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

.github/workflows/on-tag.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,12 @@ jobs:
6464
- name: Add SHORT_SHA env property with commit short sha
6565
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
6666

67-
- name: Login to Docker for building
68-
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
67+
# - name: Login to Docker for building
68+
# run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
69+
70+
- name: Login to Docker
71+
run: |
72+
docker login -u "sondreb" -p "${{secrets.DOCKER_KEY}}"
6973
7074
- name: Checkout project
7175
uses: actions/checkout@v4
@@ -99,8 +103,8 @@ jobs:
99103
--cache-from "type=local,src=/tmp/.buildx-cache" \
100104
--cache-to "type=local,dest=/tmp/.buildx-cache" \
101105
--platform linux/amd64,linux/arm64 \
102-
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:$TAG \
103-
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:latest \
106+
--tag blockcore/mempool-${{ matrix.service }}:$TAG \
107+
--tag blockcore/mempool-${{ matrix.service }}:latest \
104108
--build-context rustgbt=./rust \
105109
--build-context backend=./backend \
106110
--output "type=registry" ./${{ matrix.service }}/ \

docker-angor-api/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ services:
117117
LETSENCRYPT_HOST: explorer.angor.io
118118
LETSENCRYPT_EMAIL: [email protected]
119119
ASPNETCORE_URLS: http://+:8080
120-
image: mempool/frontend:latest
120+
image: blockcore/mempool-frontend:latest
121121
user: "0:1000"
122122
restart: always
123123
stop_grace_period: 1m

docker/docker-compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
environment:
66
FRONTEND_HTTP_PORT: "8080"
77
BACKEND_MAINNET_HTTP_HOST: "api"
8-
image: mempool/frontend:latest
8+
image: blockcore/mempool-frontend:latest
99
user: "1000:1000"
1010
restart: on-failure
1111
stop_grace_period: 1m
@@ -25,7 +25,7 @@ services:
2525
DATABASE_USERNAME: "mempool"
2626
DATABASE_PASSWORD: "mempool"
2727
STATISTICS_ENABLED: "true"
28-
image: mempool/backend:latest
28+
image: blockcore/mempool-backend:latest
2929
user: "1000:1000"
3030
restart: on-failure
3131
stop_grace_period: 1m

0 commit comments

Comments
 (0)