diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ad545e874c..c5ea0d9f01 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -60,7 +60,7 @@ jobs: context: . file: base-image/Dockerfile push: true # See 'if' above - tags: ghcr.io/estuary/base-image:dev,ghcr.io/estuary/base-image:v1 + tags: ghcr.io/estuary/base-image:dev,ghcr.io/estuary/base-image:${{ steps.prep.outputs.version }} build_connectors: runs-on: ubuntu-20.04 @@ -98,6 +98,8 @@ jobs: run: | TAG=$(echo $GITHUB_SHA | head -c7) echo ::set-output name=tag::${TAG} + VERSION=$(cat ${{ matrix.connector }}/VERSION) + echo ::set-output name=version::${VERSION} - name: Download latest Flow release binaries run: ./fetch-flow.sh @@ -223,4 +225,4 @@ jobs: context: . file: ${{ matrix.connector }}/Dockerfile push: true # See 'if' above - tags: ghcr.io/estuary/${{ matrix.connector }}:dev,ghcr.io/estuary/${{ matrix.connector }}:v1 + tags: ghcr.io/estuary/${{ matrix.connector }}:dev,ghcr.io/estuary/${{ matrix.connector }}:${{ steps.prep.outputs.version }} diff --git a/base-image/VERSION b/base-image/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/base-image/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-bigquery/VERSION b/materialize-bigquery/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-bigquery/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-boilerplate/VERSION b/materialize-boilerplate/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-boilerplate/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-elasticsearch/VERSION b/materialize-elasticsearch/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-elasticsearch/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-firebolt/VERSION b/materialize-firebolt/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-firebolt/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-google-sheets/VERSION b/materialize-google-sheets/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-google-sheets/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-postgres/VERSION b/materialize-postgres/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-postgres/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-rockset/VERSION b/materialize-rockset/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-rockset/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-s3-parquet/VERSION b/materialize-s3-parquet/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-s3-parquet/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-snowflake/VERSION b/materialize-snowflake/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-snowflake/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-sql/VERSION b/materialize-sql/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-sql/VERSION @@ -0,0 +1 @@ +v1 diff --git a/materialize-webhook/VERSION b/materialize-webhook/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/materialize-webhook/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-gcs/VERSION b/source-gcs/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-gcs/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-hello-world/VERSION b/source-hello-world/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-hello-world/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-http-file/VERSION b/source-http-file/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-http-file/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-kafka/VERSION b/source-kafka/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-kafka/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-kinesis/VERSION b/source-kinesis/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-kinesis/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-mysql/VERSION b/source-mysql/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-mysql/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-postgres/VERSION b/source-postgres/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-postgres/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-s3/VERSION b/source-s3/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-s3/VERSION @@ -0,0 +1 @@ +v1 diff --git a/source-test/VERSION b/source-test/VERSION new file mode 100644 index 0000000000..626799f0f8 --- /dev/null +++ b/source-test/VERSION @@ -0,0 +1 @@ +v1