Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
seadfeng committed Aug 24, 2024
1 parent 67107b8 commit 1edaf22
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

name: "Docker CI"
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Setup Docker Buildx
id: docker_buildx
uses: docker/setup-buildx-action@v3

- name: Docker Build
run: |
echo ${{ secrets.DOCKER_LOGIN }} | docker login -u ${{ github.actor }} --password-stdin
docker buildx create --use
docker buildx inspect --bootstrap
docker buildx build --push -t ${{ github.repository }}:latest -f .docker/Dockerfile .

0 comments on commit 1edaf22

Please sign in to comment.