We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f5fee commit e85cb14Copy full SHA for e85cb14
.github/workflows/build.yaml
@@ -12,3 +12,24 @@ jobs:
12
13
- name: black
14
uses: psf/black@stable
15
+
16
+ - name: Log in to Docker Hub
17
+ uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
18
+ with:
19
+ username: ${{ secrets.DOCKER_USERNAME }}
20
+ password: ${{ secrets.DOCKER_PASSWORD }}
21
22
+ - name: Extract metadata (tags, labels) for Docker
23
+ id: meta
24
+ uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
25
26
+ images: codeguru42/go-capture
27
28
+ - name: Build and push Docker image
29
+ uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
30
31
+ context: .
32
+ file: ./Dockerfile
33
+ push: true
34
+ tags: ${{ steps.meta.outputs.tags }}
35
+ labels: ${{ steps.meta.outputs.labels }}
0 commit comments