Merge pull request #2004 from vimalk78/cpu-info-with-procfs #29
This file contains hidden or 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
name: Push | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: [reboot] | |
jobs: | |
codecov-upload: | |
uses: ./.github/workflows/codecov-upload.yaml | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
publish: | |
needs: [codecov-upload] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/[email protected] | |
with: | |
go-version-file: go.mod | |
cache: true | |
- name: Additional tags | |
id: additional_tags | |
shell: bash | |
run: | | |
echo "result=$(git rev-parse --short HEAD)-$(date +%Y%m%d%H%M%S),latest" >> $GITHUB_OUTPUT | |
- name: Build and publish image to external registry | |
uses: ./.github/publish-image | |
with: | |
registry: quay.io/sustainable_computing_io | |
username: ${{ secrets.BOT_NAME }} | |
password: ${{ secrets.BOT_TOKEN }} | |
additional_tags: ${{ steps.additional_tags.outputs.result }} |