Skip to content

Commit b8203a8

Browse files
authored
DevOps: Disable docker caching and change image names (#625)
1 parent c67dce3 commit b8203a8

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.github/workflows/build-and-deploy-production.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy Auctions UI production
22

3-
on:
4-
release:
3+
on:
4+
release:
55
types: [released]
66

77
jobs:
@@ -51,7 +51,7 @@ jobs:
5151
context: ./
5252
platforms: linux/amd64
5353
tags: |
54-
ghcr.io/sidestream-tech/unified-auctions-ui/frontend:${{ github.sha }}
54+
ghcr.io/sidestream-tech/unified-auctions-ui/frontend-prod:${{ github.sha }}
5555
build-args: |
5656
RPC_URL=${{ env.RPC_URL }}
5757
PRODUCTION_DOMAIN=${{ env.PRODUCTION_DOMAIN }}
@@ -60,8 +60,6 @@ jobs:
6060
HEAPIO_ID=${{ env.HEAPIO_ID }}
6161
FRONTEND_ORIGIN=${{ env.FRONTEND_ORIGIN }}
6262
push: true
63-
cache-from: type=gha
64-
cache-to: type=gha,mode=max
6563

6664
build-bot:
6765
name: build bot
@@ -96,10 +94,8 @@ jobs:
9694
context: ./
9795
platforms: linux/amd64
9896
tags: |
99-
ghcr.io/sidestream-tech/unified-auctions-ui/bot:${{ github.sha }}
97+
ghcr.io/sidestream-tech/unified-auctions-ui/bot-prod:${{ github.sha }}
10098
push: true
101-
cache-from: type=gha
102-
cache-to: type=gha,mode=max
10399

104100
deploy:
105101
name: deploy production to cluster

.github/workflows/build-and-deploy-staging.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Deploy Auctions UI staging
22

33
on:
4-
push:
5-
branches: [ main ]
4+
push:
5+
branches: [ main ]
66

77
jobs:
88
build-frontend:
@@ -51,7 +51,7 @@ jobs:
5151
context: ./
5252
platforms: linux/amd64
5353
tags: |
54-
ghcr.io/sidestream-tech/unified-auctions-ui/frontend:${{ github.sha }}
54+
ghcr.io/sidestream-tech/unified-auctions-ui/frontend-staging:${{ github.sha }}
5555
build-args: |
5656
RPC_URL=${{ env.RPC_URL }}
5757
PRODUCTION_DOMAIN=${{ env.PRODUCTION_DOMAIN }}
@@ -60,8 +60,6 @@ jobs:
6060
HEAPIO_ID=${{ env.HEAPIO_ID }}
6161
FRONTEND_ORIGIN=${{ env.FRONTEND_ORIGIN }}
6262
push: true
63-
cache-from: type=gha
64-
cache-to: type=gha,mode=max
6563

6664
build-bot:
6765
name: build bot
@@ -96,10 +94,8 @@ jobs:
9694
context: ./
9795
platforms: linux/amd64
9896
tags: |
99-
ghcr.io/sidestream-tech/unified-auctions-ui/bot:${{ github.sha }}
97+
ghcr.io/sidestream-tech/unified-auctions-ui/bot-staging:${{ github.sha }}
10098
push: true
101-
cache-from: type=gha
102-
cache-to: type=gha,mode=max
10399

104100
deploy:
105101
name: deploy staging to cluster

0 commit comments

Comments
 (0)