forked from kamba4/sunders
feat: Tests workers
All checks were successful
Build Hello World Image / build (push) Successful in 15s
All checks were successful
Build Hello World Image / build (push) Successful in 15s
This commit is contained in:
parent
51b982d43b
commit
2846cecc86
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/test.yml
Normal file
22
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Build Hello World Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build Hello World Docker image
|
||||
run: |
|
||||
echo -e 'FROM alpine\nCMD echo Hello, World!' > Dockerfile
|
||||
docker build -t hello-world:latest .
|
Loading…
Add table
Add a link
Reference in a new issue