Skip to content

Commit

Permalink
doc: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 22, 2022
1 parent fd87225 commit fbcb1fb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- main

env:
BUILDX_VERSION: latest
BUILDKIT_IMAGE: wcjiang/html-tutorial

jobs:
build:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -86,6 +90,8 @@ jobs:
```
# Create Docker Image
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -96,7 +102,8 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
tags: ${{ secrets.DOCKER_USER }}/html-tutorial:latest

# - name: Build docs image
Expand Down

0 comments on commit fbcb1fb

Please sign in to comment.