diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f917394..6393983 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,3 +90,22 @@ jobs: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} run: | gh release create ${{github.event.inputs.version}} -t ${{github.event.inputs.version}} -n "Changes since last release:"$'\n\n'"$CHANGES" *.rpm + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{secrets.DOCKER_USERNAME}} + password: ${{secrets.DOCKER_PASSWORD}} + - name: Build Docker image and push + id: docker_build + uses: docker/build-push-action@v5 + with: + context: . + push: true + tags: dmtf/redfish-tacklebox:${{github.event.inputs.version}},dmtf/redfish-tacklebox:latest + platforms: linux/arm64,linux/amd64 + - name: Image digest + run: echo ${{steps.docker_build.outputs.digest}}