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 877fd76 commit 1308e50Copy full SHA for 1308e50
.github/workflows/docker-build.yml
@@ -1,4 +1,4 @@
1
-name: Docker Image CI
+name: "Docker: Build and Push Image"
2
3
on:
4
push:
@@ -18,11 +18,17 @@ jobs:
18
- name: DOcker meta
19
uses: docker/metadata-action@v5
20
with:
21
- images: tls-attacker/anvil-web
+ images: ghcr.io/tls-attacker/anvil-web
22
+ - name: Login to GitHub Container Registry
23
+ uses: docker/login-action@v3
24
+ with:
25
+ registry: ghcr.io
26
+ username: ${{ github.actor }}
27
+ password: ${{ secrets.GITHUB_TOKEN }}
28
- name: Build and push
29
uses: docker/build-push-action@v5
30
31
context: .
- push: false
32
+ push: true
33
tags: ${{ steps.meta.outputs.tags }}
34
labels: ${{ steps.meta.outputs.labels }}
0 commit comments