]> 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:

Docker CI: Add missed Checkout step (#2128)
[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: Checkout
13         uses: actions/checkout@v2
14
15       - name: Set up QEMU
16         uses: docker/setup-qemu-action@v1
17
18       - name: Set up Docker Buildx
19         uses: docker/setup-buildx-action@v1
20
21       - name: Login to DockerHub
22         uses: docker/login-action@v1
23         with:
24           username: ${{ secrets.DOCKERHUB_USERNAME }}
25           password: ${{ secrets.DOCKERHUB_TOKEN }}
26
27       - name: Build and push
28         uses: docker/build-push-action@v2
29         with:
30           context: .
31           platforms: linux/amd64,linux/arm64
32           push: true
33           tags: pyfound/black:latest
34
35       - name: Image digest
36         run: echo ${{ steps.docker_build.outputs.digest }}