Add embedded-gateway-builder docker #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Embedded Gateway Builder | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- work/image-builder | |
paths: | |
- .github/workflows/build-docker.yml | |
- Dockerfile | |
jobs: | |
build: | |
name: Build and push embedded-gateway-builder image | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Clone | |
uses: actions/checkout@v4 | |
- name: Log in to the Container registry | |
uses: docker/login-action@v3 | |
with: | |
registry: https://ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push embedded-gateway-builder to GitHub Packages | |
uses: docker/build-push-action@v6 | |
with: | |
push: false | |
tags: ghcr.io/wirepas/embedded-gateway-builder:latest |