forked from raystack/transformers
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: restructure transformer plugins (#33)
* chore: restructure transformer plugins * chore: restructure bq2bq dockerfile
- Loading branch information
1 parent
335cd55
commit 64a2bb8
Showing
94 changed files
with
24 additions
and
5,510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,31 +3,40 @@ name: release | |
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
- 'bq2bq/v*' | ||
|
||
jobs: | ||
release: | ||
bq2bq: | ||
if: startsWith(github.ref, 'refs/tags/bq2bq/v') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.20' | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: docker.io | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Run GoReleaser [Main] | ||
uses: goreleaser/[email protected] | ||
# Extract the Git tag version | ||
- name: Extract tag version | ||
id: vars | ||
run: | | ||
# Extract the tag name from GITHUB_REF, remove 'refs/tags/bq2bq/' prefix | ||
TAG="${GITHUB_REF#refs/tags/bq2bq/}" | ||
echo "Tag name: $TAG" | ||
echo "::set-output name=tag::$TAG" | ||
# Build and push the Docker image to Docker Hub | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
distribution: goreleaser | ||
version: latest | ||
args: -f .goreleaser.yml --clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }} | ||
context: ./bq2bq | ||
platforms: linux/amd64 # Specify the target platforms | ||
push: true | ||
tags: | | ||
docker.io/gotocompany/optimus-task-bq2bq-executor:latest | ||
docker.io/gotocompany/optimus-task-bq2bq-executor:${{ steps.vars.outputs.tag }} | ||
- name: Log out from Docker Hub | ||
run: docker logout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.