-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dont_build_unknown_platform
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 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,19 +6,19 @@ jobs: | |
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.5.2 | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
tagging: | ||
name: "Tagging (dry-run)" | ||
needs: pre-commit | ||
runs-on: ubuntu-latest | ||
outputs: | ||
net_tag: ${{ steps.tag_version.outputs.new_tag }} | ||
steps: | ||
- uses: actions/checkout@v3.5.2 | ||
- uses: actions/checkout@v4.0.0 | ||
- name: Bump version and push tag | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
|
@@ -29,7 +29,7 @@ jobs: | |
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.5.2 | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: arduino/setup-task@v1 | ||
- name: Lint and tests | ||
run: | | ||
|
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,19 +6,19 @@ jobs: | |
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.5.2 | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
tagging: | ||
name: "Tagging" | ||
needs: pre-commit | ||
runs-on: ubuntu-latest | ||
outputs: | ||
next_tag: ${{ steps.tag_version.outputs.new_version }} | ||
steps: | ||
- uses: actions/checkout@v3.5.2 | ||
- uses: actions/checkout@v4.0.0 | ||
- name: Bump version and push tag | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
|
@@ -34,7 +34,7 @@ jobs: | |
- name: Post to a Slack channel | ||
if: ${{ success() }} | ||
id: slack_success | ||
uses: slackapi/slack-github-action@v1.24.0 | ||
uses: slackapi/slack-github-action@v1.25.0 | ||
with: | ||
channel-id: 'sdcadmin-operator' | ||
slack-message: ':cool-doge: `${{github.repository}}` new version: ${{needs.tagging.outputs.next_tag}}' | ||
|
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 |
---|---|---|
|
@@ -286,7 +286,7 @@ runs: | |
type=raw,value=${{ inputs.external_tag || steps.image_tag.outputs.ver }} | ||
- name: Build container | ||
uses: docker/build-push-action@v3 | ||
uses: docker/build-push-action@v4 | ||
if: ${{ inputs.build == 'true' }} | ||
with: | ||
context: ${{ inputs.context_path }} | ||
|
@@ -312,7 +312,7 @@ runs: | |
- name: Scan image | ||
if: inputs.run_scanner == 'true' && inputs.build == 'true' | ||
continue-on-error: true | ||
uses: draios/[email protected].2 | ||
uses: draios/[email protected].3 | ||
with: | ||
image-tag: ${{ steps.container.outputs.container-tag }} | ||
sysdig-secure-token: ${{ inputs.sysdig_secure_token }} | ||
|
@@ -323,7 +323,7 @@ runs: | |
policy-list: ${{ inputs.policy-list }} | ||
|
||
- name: Push container | ||
uses: docker/build-push-action@v3 | ||
uses: docker/build-push-action@v4 | ||
if: ${{ inputs.push == 'true' && inputs.dry_run != 'true' }} | ||
with: | ||
context: ${{ inputs.context_path }} | ||
|