-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (38 loc) · 1.03 KB
/
containers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Containers CI
on:
workflow_run:
workflows: [Build and Tests]
types:
- completed
release:
types: [created]
jobs:
build_cache_buildx:
runs-on: ubuntu-latest
steps:
- name: Cleanup disk
run: |
sudo ls -l /usr/local/lib/
sudo ls -l /usr/share/
sudo du -sh /usr/local/lib/
sudo du -sh /usr/share/
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/dotnet
sudo du -sh /usr/local/lib/
sudo du -sh /usr/share/
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: ./
file: .devcontainer/Containerfile
push: false
- name: Buildah Action
uses: redhat-actions/buildah-build@v2
with:
image: python-dev
tags: latest ${{ github.sha }}
containerfiles: |
.devcontainer/Containerfile