-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b48d53
commit 6eaeeb2
Showing
58 changed files
with
270 additions
and
153 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 |
---|---|---|
|
@@ -6,13 +6,17 @@ on: | |
branch: | ||
description: 'Branch to build from' | ||
required: true | ||
fake_tag: | ||
description: 'Version to be given to the packages' | ||
default: '0.0.0' | ||
dest_prefix: | ||
description: 'Repo prefix' | ||
required: true | ||
|
||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TAG: "0.0.0" | ||
# TAG: "0.0.0" | ||
FAKE_TAG: ${{ inputs.fake_tag }} | ||
DOCKER_HUB_ID: ${{secrets.OHAI_DOCKER_HUB_ID}} | ||
DOCKER_HUB_PASSWORD: ${{secrets.OHAI_DOCKER_HUB_PASSWORD}} | ||
# required for GHA publish action, should be moved into optional | ||
|
@@ -43,7 +47,7 @@ jobs: | |
ref: ${{ env.BRANCH }} | ||
|
||
- name: "Tag this commit" # required for Goreleaser | ||
run: git tag ${{ env.TAG }} | ||
run: git tag ${{ env.FAKE_TAG }} | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
|
@@ -64,7 +68,7 @@ jobs: | |
- name: Publish deb to S3 action | ||
uses: newrelic/[email protected] | ||
with: | ||
tag: ${{env.TAG}} | ||
tag: ${{env.FAKE_TAG}} | ||
app_name: "newrelic-infra" | ||
repo_name: "newrelic/infrastructure-agent" | ||
schema: "custom" | ||
|
@@ -89,7 +93,7 @@ jobs: | |
- name: Publish rpm to S3 action | ||
uses: newrelic/[email protected] | ||
with: | ||
tag: ${{env.TAG}} | ||
tag: ${{env.FAKE_TAG}} | ||
app_name: "newrelic-infra" | ||
repo_name: "newrelic/infrastructure-agent" | ||
schema: "custom" | ||
|
@@ -113,7 +117,7 @@ jobs: | |
- name: Publish targz to S3 action | ||
uses: newrelic/[email protected] | ||
with: | ||
tag: ${{env.TAG}} | ||
tag: ${{env.FAKE_TAG}} | ||
app_name: "newrelic-infra" | ||
repo_name: "newrelic/infrastructure-agent" | ||
schema: "custom" | ||
|
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 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 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 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 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 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 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 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 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 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 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 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 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
Oops, something went wrong.