ci: Remove the test multi-platform docker test job [skip ci]
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
name: Test Docker Multi-Platform Builds
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: write
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish-docker-image:
|
||||
name: Publishing Docker image to Docker Hub
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
# - name: Get release artifacts
|
||||
# uses: actions/download-artifact@v3
|
||||
# with:
|
||||
# name: artifacts
|
||||
# path: artifacts
|
||||
|
||||
- name: Set version variable
|
||||
run: |
|
||||
echo "version=v0.4.1" >> $GITHUB_ENV
|
||||
|
||||
- name: Validate release environment variables
|
||||
run: |
|
||||
echo "Release version: ${{ env.version }}"
|
||||
|
||||
- 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: Push to Docker Hub
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: darkalex17/testing:latest, darkalex17/testing:${{ env.version }}
|
||||
Reference in New Issue
Block a user