Skip to content

Commit

Permalink
feat(workflows): Add webinstall workflow to push image (#1336)
Browse files Browse the repository at this point in the history
Reviewed-by: Antoine Cotten <antoine@unikraft.io>
Approved-by: Antoine Cotten <antoine@unikraft.io>
  • Loading branch information
craciunoiuc authored Mar 1, 2024
2 parents b6d96f8 + d7854bf commit a547227
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/webinstall.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: tools/webinstall

on:
push:
branches: [stable]
paths:
- 'tools/webinstall/**'

jobs:
myself-push:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Build & Push OCI Image
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/unikraft/kraftkit/webinstall:latest
platforms: linux/amd64
file: ./tool/webinstall/Dockerfile
secrets: |
GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }}

0 comments on commit a547227

Please sign in to comment.