Skip to content

Commit

Permalink
updade action
Browse files Browse the repository at this point in the history
  • Loading branch information
leech001 committed Nov 26, 2022
1 parent 69fbd32 commit fc278c7
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,8 @@ on:
- "v*"

jobs:

build:
name: Build Docker image
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: linux/amd64,linux/arm64

# - name: Build the Docker image
# run: docker build .

push_to_registry:
name: Push Docker image to Docker Hub
build_and_push_to_registry:
name: Build and push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
Expand All @@ -50,6 +31,7 @@ jobs:
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit fc278c7

Please sign in to comment.