Skip to content

Commit ccf522e

Browse files
Update GitHub Actions workflow for developer image
Changed workflow name to 'Developer image' and updated triggers and tags for Docker image builds.
1 parent 8a100bb commit ccf522e

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/developer.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Developer image
3+
on:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
push:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Docker - Login
14+
uses: docker/login-action@v3
15+
with:
16+
username: '${{ secrets.DOCKER_USERNAME }}'
17+
password: '${{ secrets.DOCKER_PASSWORD }}'
18+
- name: Set up Docker Buildx
19+
uses: docker/setup-buildx-action@v3
20+
- name: Docker - Metadata
21+
id: meta
22+
uses: docker/metadata-action@v5
23+
with:
24+
images: |
25+
${{ github.repository }}
26+
tags: 'type=raw,value=dev'
27+
flavor: latest=false
28+
- name: Docker - Build / Push
29+
uses: docker/build-push-action@v6
30+
with:
31+
platforms: linux/amd64
32+
push: true
33+
tags: '${{ steps.meta.outputs.tags }}'

0 commit comments

Comments
 (0)