Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
carles-grafana committed Dec 16, 2024
1 parent 1f2734d commit d1fc76c
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,32 @@ jobs:
docker build -f tools/Dockerfile -t $IMAGE_NAME:$TAG_ARCH .
docker push $IMAGE_NAME:$TAG_ARCH
manifest:
needs: ['get-image-tag', 'docker-ci-tools']
runs-on: ubuntu-latest
env:
TAG: ${{ needs.get-image-tag.outputs.tag }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Login to DockerHub
uses: grafana/shared-workflows/actions/[email protected]

- name: docker-manifest-create-and-push
run: |
docker manifest create \
$IMAGE_NAME:$TAG \
--amend $IMAGE_NAME:$TAG-amd64 \
--amend $IMAGE_NAME:$TAG-arm64
docker manifest push $IMAGE_NAME:$TAG
# to test
#docker manifest create \
# $IMAGE_NAME:latest \
# --amend $IMAGE_NAME:$TAG-amd64 \
# --amend $IMAGE_NAME:$TAG-arm64
#docker manifest push $IMAGE_NAME:latest
lint:
name: Lint
Expand Down

0 comments on commit d1fc76c

Please sign in to comment.