Skip to content

Commit

Permalink
Let shared workflow to increase the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jan 18, 2024
1 parent 77b3973 commit 90ecd7c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/release-docker-image-uid2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,9 @@ env:
IMAGE_NAME_UID2: iabtechlab/uid2-tcportal

jobs:
getPackageVersion:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
outputs:
package_version: ${{ steps.version.outputs.package_version }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Get Package Version
id: version
shell: bash
run: |
package_version=$(cat package.json | jq -r '.version')
echo "package_version=$package_version" >> $GITHUB_OUTPUT
Image:
name: Publish to docker
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@kcc-UID2-2674-implement-shared-publish-to-docker-versioned
needs: getPackageVersion
with:
release_type: ${{ inputs.release_type }}
version_number_input: ${{ needs.getPackageVersion.outputs.package_version }}
docker_file: Dockerfile_uid2
secrets: inherit

0 comments on commit 90ecd7c

Please sign in to comment.