You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/10/16 05:14:08 UTC
[incubator-nuttx] branch master updated: ci: Only build docker image once.
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 9889b4b5c6 ci: Only build docker image once.
9889b4b5c6 is described below
commit 9889b4b5c60686934760795cbc57c2cec0a06c86
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Sat Oct 15 20:05:28 2022 -0700
ci: Only build docker image once.
---
.github/workflows/docker_linux.yml | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/docker_linux.yml b/.github/workflows/docker_linux.yml
index 8b0b306486..d06d7c9967 100644
--- a/.github/workflows/docker_linux.yml
+++ b/.github/workflows/docker_linux.yml
@@ -57,14 +57,9 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Build Linux image
- uses: docker/build-push-action@v3
- with:
- context: tools/ci/docker/linux
- load: true
- tags: ${{ env.IMAGE_TAG }}
-
+ - name: Pre-build Disk Stats
+ run: |
+ df -h
- name: Push Linux image
uses: docker/build-push-action@v3
with:
@@ -72,3 +67,7 @@ jobs:
platforms: linux/amd64
push: ${{ github.ref == 'refs/heads/master' }}
tags: ${{ env.IMAGE_TAG }}
+ - name: Post-build Disk Stats
+ if: always()
+ run: |
+ df -h