Skip to content

Commit

Permalink
fix(iptvboss): fixing missing docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
groenator committed May 11, 2024
1 parent 51c0c8a commit c0804ac
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit c0804ac

Please sign in to comment.