Skip to content

Commit

Permalink
Prepare v0.1.21 (#1558)
Browse files Browse the repository at this point in the history
* feat(ci): add workflow step to push image to Dockerhub

* chore(ci): fix accidential edit of Compile deb file step

Signed-off-by: Abhishek Mishra <[email protected]>

* chore(ci): add release condition for dockerhub puch step

* Version bump

---------

Signed-off-by: Abhishek Mishra <[email protected]>
Co-authored-by: Abhishek Mishra <[email protected]>
  • Loading branch information
mediuminvader and abhishekmishragithub authored May 12, 2023
1 parent ce12edd commit c9c2cae
Show file tree
Hide file tree
Showing 18 changed files with 54 additions and 34 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ env:
BUCKET_NAME: "dozer-releases"
ECR_REGISTRY: public.ecr.aws/k7k6x1d4
ECR_REPOSITORY: dozer
DOCKERHUB_REGISTRY: getdozer
DOCKERHUB_REPOSITORY: dozer

permissions:
id-token: write # This is required for requesting the JWT
Expand Down Expand Up @@ -147,9 +149,9 @@ jobs:
mv release/ ${{matrix.asset_name}}/
tar -czvf ${{matrix.asset_name}}.tar.gz ${{matrix.asset_name}}/
cp deb/${{matrix.asset_name}}.deb ${{matrix.asset_name}}/
ls -l ${{matrix.asset_name}}
- name: Upload the release
Expand Down Expand Up @@ -364,7 +366,7 @@ jobs:
${{matrix.asset_name}}/
cp deb/${{matrix.asset_name}}.deb ${{matrix.asset_name}}/ 2>/dev/null || :
ls -l ${{matrix.asset_name}}
- name: Upload the release
Expand Down Expand Up @@ -427,6 +429,24 @@ jobs:
docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:latest
docker push $ECR_REGISTRY/$ECR_REPOSITORY:latest
- name: Log in to Docker Hub
if: (github.event_name == 'release') && (needs.prepare.outputs.prerelease == 'false') && (matrix.os == 'ubuntu-20-16-cores')
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker image to Docker Hub
if: (github.event_name == 'release') && (needs.prepare.outputs.prerelease == 'false') && (matrix.os == 'ubuntu-20-16-cores')
env:
IMAGE_TAG: ${{ needs.prepare.outputs.version }}
uses: docker/build-push-action@v2
with:
context: .
file: ./ci/Dockerfile
push: true
tags: ${{ env.DOCKERHUB_REGISTRY }}/${{ env.DOCKERHUB_REPOSITORY }}:latest,${{ env.DOCKERHUB_REGISTRY }}/${{ env.DOCKERHUB_REPOSITORY }}:${{ env.IMAGE_TAG }}

- name: Release notification
if: ${{ env.VERSION != 'dev' && matrix.os == 'ubuntu-20-16-cores'}}
env:
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dozer-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-api"
version = "0.1.20"
version = "0.1.21"

edition = "2021"
authors = ["getdozer/dozer-dev"]
Expand Down
2 changes: 1 addition & 1 deletion dozer-cache/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-cache"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
authors = ["getdozer/dozer-dev"]

Expand Down
2 changes: 1 addition & 1 deletion dozer-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-core"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
authors = ["getdozer/dozer-dev"]

Expand Down
2 changes: 1 addition & 1 deletion dozer-ingestion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-ingestion"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
authors = ["getdozer/dozer-dev"]

Expand Down
2 changes: 1 addition & 1 deletion dozer-log-js/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-log-js"
version = "0.1.20"
version = "0.1.21"
description = "Node.js binding for reading Dozer logs"
authors = ["getdozer/dozer-dev"]
license = "Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions dozer-log-js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dozer-log-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dozerjs/log",
"version": "0.1.20",
"version": "0.1.21",
"description": "Node.js binding for reading Dozer logs",
"main": "build/log.node",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion dozer-log-python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-log-python"
version = "0.1.20"
version = "0.1.21"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion dozer-log/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-log"
version = "0.1.20"
version = "0.1.21"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion dozer-orchestrator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-orchestrator"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
default-run = "dozer"
authors = ["getdozer/dozer-dev"]
Expand Down
2 changes: 1 addition & 1 deletion dozer-sql/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-sql"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
authors = ["getdozer/dozer-dev"]

Expand Down
2 changes: 1 addition & 1 deletion dozer-storage/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-storage"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
authors = ["getdozer/dozer-dev"]

Expand Down
2 changes: 1 addition & 1 deletion dozer-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-tests"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
authors = ["getdozer/dozer-dev"]

Expand Down
2 changes: 1 addition & 1 deletion dozer-tracing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-tracing"
version = "0.1.20"
version = "0.1.21"
edition = "2021"
authors = ["getdozer/dozer-dev"]

Expand Down
2 changes: 1 addition & 1 deletion dozer-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-types"
version = "0.1.20"
version = "0.1.21"
authors = ["getdozer/dozer-dev"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion dozer-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dozer-utils"
version = "0.1.20"
version = "0.1.21"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit c9c2cae

Please sign in to comment.