Skip to content

Commit 9ac27a3

Browse files
authored
feat: stick w/ Continuous Delivery style image tags (#2044)
partially reverts "chore: Update GAR Image Tagging to MozCloud Spec" (commit d2fda79). Closes STOR-475
1 parent 9f700d6 commit 9ac27a3

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

.github/workflows/mozcloud-publish.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,7 @@ on:
1818
workflow_dispatch: {}
1919

2020
jobs:
21-
generate-timestamp:
22-
runs-on: ubuntu-latest
23-
outputs:
24-
timestamp: ${{ steps.timestamp.outputs.timestamp }}
25-
steps:
26-
- name: Generate timestamp
27-
id: timestamp
28-
run: echo "timestamp=$(date -u +%Y%m%dT%H%M%S)" >> $GITHUB_OUTPUT
29-
3021
build-and-push-syncstorage-rs:
31-
needs: generate-timestamp
3222
if: >
3323
github.event_name == 'workflow_dispatch' ||
3424
(
@@ -53,10 +43,8 @@ jobs:
5343
SYNCSTORAGE_DATABASE_BACKEND=spanner
5444
MYSQLCLIENT_PKG=libmysqlclient-dev
5545
should_tag_ghcr: true
56-
image_tag_metadata: ${{ needs.generate-timestamp.outputs.timestamp }}
5746

5847
build-and-push-syncstorage-rs-postgres:
59-
needs: generate-timestamp
6048
if: >
6149
github.event_name == 'workflow_dispatch' ||
6250
(
@@ -81,10 +69,8 @@ jobs:
8169
SYNCSTORAGE_DATABASE_BACKEND=postgres
8270
TOKENSERVER_DATABASE_BACKEND=postgres
8371
should_tag_ghcr: true
84-
image_tag_metadata: ${{ needs.generate-timestamp.outputs.timestamp }}
8572

8673
build-and-push-syncstorage-rs-spanner-python-utils:
87-
needs: generate-timestamp
8874
if: >
8975
github.event_name == 'workflow_dispatch' ||
9076
(
@@ -108,10 +94,8 @@ jobs:
10894
dockerfile_path: tools/spanner/Dockerfile
10995
image_build_context: tools/spanner
11096
should_tag_ghcr: true
111-
image_tag_metadata: ${{ needs.generate-timestamp.outputs.timestamp }}
11297

11398
build-and-push-syncstorage-rs-postgres-python-utils:
114-
needs: generate-timestamp
11599
if: >
116100
github.event_name == 'workflow_dispatch' ||
117101
(
@@ -135,10 +119,8 @@ jobs:
135119
dockerfile_path: tools/postgres/Dockerfile
136120
image_build_context: tools/postgres
137121
should_tag_ghcr: true
138-
image_tag_metadata: ${{ needs.generate-timestamp.outputs.timestamp }}
139122

140123
build-and-push-syncstorage-rs-mysql:
141-
needs: generate-timestamp
142124
if: >
143125
github.event_name == 'workflow_dispatch' ||
144126
(
@@ -163,4 +145,3 @@ jobs:
163145
SYNCSTORAGE_DATABASE_BACKEND=mysql
164146
TOKENSERVER_DATABASE_BACKEND=mysql
165147
should_tag_ghcr: true
166-
image_tag_metadata: ${{ needs.generate-timestamp.outputs.timestamp }}

0 commit comments

Comments
 (0)