diff options
| author | Matthieu <matthieu@matthieu-dev.xyz> | 2022-12-31 17:47:32 +0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-31 17:47:32 +0400 | 
| commit | 7813c0a271608bfdff03d775fe692e7a0ceb8810 (patch) | |
| tree | 96ddebffcc2dbcadbc7c1d144148d475c7ca5101 /.github | |
| parent | 32af5021cb2bf558d6a0c21b863f16755d475307 (diff) | |
Create docker-publish.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/docker-publish.yml | 28 | 
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml new file mode 100644 index 0000000..5047c29 --- /dev/null +++ b/.github/workflows/docker-publish.yml @@ -0,0 +1,28 @@ +name: docker + +on: +  push: +    branches: +      - 'main' + +jobs: +  bake: +    runs-on: ubuntu-latest +    steps: +      - +        name: Checkout +        uses: actions/checkout@v3 +      - +        name: Set up Docker Buildx +        uses: docker/setup-buildx-action@v2 +      - +        name: Login to DockerHub +        uses: docker/login-action@v2 +        with: +          username: ${{ secrets.DOCKERHUB_USERNAME }} +          password: ${{ secrets.DOCKERHUB_TOKEN }} +      - +        name: Build and push +        uses: docker/bake-action@v2 +        with: +          push: true  | 
