Skip to content

Merge pull request #142 from covalenthq/develop #21

Merge pull request #142 from covalenthq/develop

Merge pull request #142 from covalenthq/develop #21

Workflow file for this run

name: tag-release
on:
push:
tags:
- "v*.*.*"
jobs:
tagged-release:
name: Tagged Release
runs-on: "ubuntu-latest"
steps:
- name: Login to Artifact Registry/GCR
uses: docker/login-action@v2
with:
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- uses: actions/checkout@v2
- name: Set env
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Build & Publish the Docker image
run: |
docker buildx create --name builder --use --platform=linux/amd64,linux/arm64 && docker buildx build --platform=linux/amd64,linux/arm64 . -t us-docker.pkg.dev/covalent-project/network/rudder:stable -t us-docker.pkg.dev/covalent-project/network/rudder:"${{ env.TAG }}" --push
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: false
prerelease: false
files: |
*.zip
*.tar.gz