]> git.madduck.net Git - etc/vim.git/blob - .github/workflows/docker.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

40b3d07736b7775da91a5303916109bb894a07cc
[etc/vim.git] / .github / workflows / docker.yml
1 name: docker
2
3 on:
4   push:
5     branches:
6       - "master"
7
8 jobs:
9   docker:
10     runs-on: ubuntu-latest
11     steps:
12       - name: Set up QEMU
13         uses: docker/setup-qemu-action@v1
14
15       - name: Set up Docker Buildx
16         uses: docker/setup-buildx-action@v1
17
18       - name: Login to DockerHub
19         uses: docker/login-action@v1
20         with:
21           username: ${{ secrets.DOCKERHUB_USERNAME }}
22           password: ${{ secrets.DOCKERHUB_TOKEN }}
23
24       - name: Build and push
25         uses: docker/build-push-action@v2
26         with:
27           context: .
28           platforms: linux/amd64,linux/arm64
29           push: true
30           tags: pyfound/black:latest
31
32       - name: Image digest
33         run: echo ${{ steps.docker_build.outputs.digest }}