Skip to content

Commit

Permalink
Add meta container data to rootfs (#53903)
Browse files Browse the repository at this point in the history
* Add meta container data to rootfs

* Update builder.yml

* Update .github/workflows/builder.yml

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

* Update .github/workflows/builder.yml

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
  • Loading branch information
pvizeli and ludeeus authored Aug 3, 2021
1 parent 3f2e18f commit c287fc1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ jobs:
with:
ignore-dev: true

- name: Generate meta info
shell: bash
run: |
echo "${{ env.GITHUB_SHA }};${{ env.GITHUB_REF }};${{ env.GITHUB_EVENT_NAME }};${{ env.GITHUB_ACTOR }}" > OFFICIAL_IMAGE
- name: Signing meta info file
uses: home-assistant/actions/helpers/codenotary@master
with:
source: file://${{ github.workspace }}/OFFICIAL_IMAGE
user: ${{ secrets.VCN_USER }}
password: ${{ secrets.VCN_PASSWORD }}
organisation: home-assistant.io

build_python:
name: Build PyPi package
needs: init
Expand Down Expand Up @@ -101,6 +114,11 @@ jobs:
python3 script/version_bump.py nightly
version="$(python setup.py -V)"
- name: Write meta info file
shell: bash
run: |
echo "${{ env.GITHUB_SHA }};${{ env.GITHUB_REF }};${{ env.GITHUB_EVENT_NAME }};${{ env.GITHUB_ACTOR }}" > rootfs/OFFICIAL_IMAGE
- name: Login to DockerHub
uses: docker/login-action@v1.10.0
with:
Expand Down

0 comments on commit c287fc1

Please sign in to comment.