File tree Expand file tree Collapse file tree 2 files changed +52
-1
lines changed
Expand file tree Collapse file tree 2 files changed +52
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Release Image
2+
3+ on :
4+ push :
5+ branches :
6+ - ' debug'
7+
8+ env :
9+ IMAGE_NAME : ghcr.io/kitconcept/docker-stack-deploy
10+
11+ jobs :
12+
13+ release :
14+ runs-on : ubuntu-latest
15+ steps :
16+
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - name : Docker meta
21+ id : meta
22+ uses : docker/metadata-action@v5
23+ with :
24+ # list of Docker images to use as base name for tags
25+ images : |
26+ ${{ env.IMAGE_NAME }}
27+ # generate Docker tags based on the following events/attributes
28+ tags : |
29+ type=raw,value=debug
30+
31+ - name : Set up QEMU
32+ uses : docker/setup-qemu-action@v3
33+
34+ - name : Set up Docker Buildx
35+ uses : docker/setup-buildx-action@v3
36+
37+ - name : Login to GitHub Container Registry
38+ uses : docker/login-action@v3
39+ with :
40+ registry : ghcr.io
41+ username : ${{ github.actor }}
42+ password : ${{ secrets.GITHUB_TOKEN }}
43+
44+ - name : Build and push
45+ uses : docker/build-push-action@v6
46+ with :
47+ platforms : linux/amd64
48+ context : .
49+ push : ${{ github.event_name != 'pull_request' }}
50+ tags : ${{ steps.meta.outputs.tags }}
51+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ inputs:
5555 default : " 0"
5656runs :
5757 using : ' docker'
58- image : ' docker://ghcr.io/kitconcept/docker-stack-deploy:latest '
58+ image : ' docker://ghcr.io/kitconcept/docker-stack-deploy:debug '
5959 env :
6060 REGISTRY : ${{ inputs.registry }}
6161 USERNAME : ${{ inputs.username }}
You can’t perform that action at this time.
0 commit comments