Skip to content

Commit e789e34

Browse files
committed
Simplify build process
1 parent 8faae2f commit e789e34

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
DEFAULT_TAG: "latest"
2323

2424
concurrency:
25-
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-${{ inputs.brand_name}}-${{ inputs.stream_name }}
25+
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
2626
cancel-in-progress: true
2727

2828
jobs:
@@ -59,14 +59,6 @@ jobs:
5959
- name: Maximize build space
6060
uses: ublue-os/remove-unwanted-software@v9
6161

62-
- name: Mount BTRFS for podman storage
63-
id: container-storage-action
64-
uses: ublue-os/container-storage-action@main
65-
continue-on-error: true
66-
with:
67-
target-dir: /var/lib/containers
68-
mount-opts: compress-force=zstd:2
69-
7062
- name: Get current date
7163
id: date
7264
run: |
@@ -117,27 +109,6 @@ jobs:
117109
IMAGE_VENDOR=${{ github.repository_owner }}
118110
oci: false
119111

120-
# Rechunk for optimized OCI layers
121-
- name: Run Rechunker
122-
id: rechunk
123-
uses: hhd-dev/[email protected]
124-
if: github.event_name != 'pull_request'
125-
with:
126-
rechunk: 'ghcr.io/hhd-dev/rechunk:v1.0.3'
127-
ref: "localhost/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}${{ matrix.variant.tag_suffix }}"
128-
prev-ref: "${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.DEFAULT_TAG }}${{ matrix.variant.tag_suffix }}"
129-
skip_compression: true
130-
labels: ${{ steps.metadata.outputs.labels }}
131-
132-
- name: Load rechunked image and tag
133-
if: github.event_name != 'pull_request'
134-
run: |
135-
IMAGE=$(podman pull ${{ steps.rechunk.outputs.ref }})
136-
sudo rm -rf ${{ steps.rechunk.outputs.output }}
137-
for tag in ${{ steps.metadata.outputs.tags }}; do
138-
podman tag $IMAGE ${{ env.IMAGE_NAME }}:$tag
139-
done
140-
141112
- name: Login to GitHub Container Registry
142113
uses: docker/login-action@v3
143114
if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch)

0 commit comments

Comments
 (0)