-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iptvboss): fixing missing docker image
- Loading branch information
Showing
1 changed file
with
1 addition
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,29 +96,14 @@ jobs: | |
echo $LATEST_TAG | ||
# Build and push Docker image for x86 (for pull requests) | ||
- name: Build and push Docker image for x86 (PR) | ||
id: build-and-push-x86-pr | ||
if: ${{ github.event_name == 'pull_request' }} | ||
uses: docker/[email protected] | ||
with: | ||
context: . | ||
build-args: | | ||
LATEST_TAG=${{ env.LATEST_TAG }} | ||
push: true | ||
platforms: linux/amd64 | ||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}-PR-${{ github.event.number }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
|
||
- name: Short commit | ||
id: shortcommit | ||
run: echo "::set-output name=value::$(git rev-parse --short HEAD)" | ||
|
||
- name: Build and push final image | ||
uses: docker/build-push-action@v5 | ||
with: | ||
platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v6,linux/arm/v7,linux/ppc64le | ||
platforms: linux/amd64,linux/arm64 | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | | ||
LATEST_TAG=${{ env.LATEST_TAG }} | ||
|