-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temp skip lib injection artifacts publishing
- Loading branch information
Showing
2 changed files
with
67 additions
and
68 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 |
---|---|---|
@@ -1,33 +1,32 @@ | ||
# name: "Release Library Injection" | ||
# on: | ||
# push: | ||
# tags: | ||
# - 'v*.*.*' | ||
|
||
name: "Release Library Injection" | ||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
|
||
jobs: | ||
build-and-publish-release-image: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set version | ||
id: version | ||
run: echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT | ||
- name: Get version | ||
run: echo "The selected version is ${{ steps.version.outputs.version }}" | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Login to Docker | ||
run: docker login -u publisher -p ${{ secrets.GITHUB_TOKEN }} ghcr.io | ||
- name: Docker Build | ||
uses: docker/build-push-action@v3 | ||
with: | ||
push: true | ||
tags: ghcr.io/datadog/dd-trace-rb/dd-lib-ruby-init:${{ steps.version.outputs.version }} | ||
platforms: 'linux/amd64,linux/arm64/v8' | ||
build-args: DATADOG_RUBY_GEM_VERSION=${{ steps.version.outputs.version }} | ||
context: ./lib-injection | ||
# jobs: | ||
# build-and-publish-release-image: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Set version | ||
# id: version | ||
# run: echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT | ||
# - name: Get version | ||
# run: echo "The selected version is ${{ steps.version.outputs.version }}" | ||
# - name: Set up QEMU | ||
# uses: docker/setup-qemu-action@v2 | ||
# - name: Set up Docker Buildx | ||
# id: buildx | ||
# uses: docker/setup-buildx-action@v2 | ||
# - name: Login to Docker | ||
# run: docker login -u publisher -p ${{ secrets.GITHUB_TOKEN }} ghcr.io | ||
# - name: Docker Build | ||
# uses: docker/build-push-action@v3 | ||
# with: | ||
# push: true | ||
# tags: ghcr.io/datadog/dd-trace-rb/dd-lib-ruby-init:${{ steps.version.outputs.version }} | ||
# platforms: 'linux/amd64,linux/arm64/v8' | ||
# build-args: DATADOG_RUBY_GEM_VERSION=${{ steps.version.outputs.version }} | ||
# context: ./lib-injection | ||
|
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