From 9d427e261024c71f2916d1fd65b916281e1f00c5 Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Sun, 18 Dec 2022 13:44:12 -0500 Subject: [PATCH 1/2] Build on push and update checkout action --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bbc1dc3..bd09e14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,9 @@ on: - main schedule: - cron: '20 20 * * *' # 8:20pm everyday + push: + branches: + - main env: IMAGE_NAME: base IMAGE_TAGS: 37 latest ${{ github.sha }} @@ -21,7 +24,7 @@ jobs: steps: # Checkout push-to-registry action github repository - name: Checkout Push to Registry action - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: set env run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV From f40a69cfbc47f1d6f696bc44cfae4c760a10115b Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Sun, 18 Dec 2022 18:00:10 -0500 Subject: [PATCH 2/2] Remove rpm-ostree cleanup -m, no longer necessary --- Containerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 3c6c05f..1531182 100644 --- a/Containerfile +++ b/Containerfile @@ -10,5 +10,4 @@ RUN rpm-ostree override remove firefox firefox-langpacks && \ sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \ systemctl enable rpm-ostreed-automatic.timer && \ systemctl enable flatpak-automatic.timer && \ - rpm-ostree cleanup -m && \ - ostree container commit \ No newline at end of file + ostree container commit