add initial build workflow configuration
This commit is contained in:
parent
a88a9203f0
commit
c8b1d7b310
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/build.yaml
Normal file
21
.forgejo/workflows/build.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
steps:
|
||||||
|
- run: echo "building container..."
|
||||||
|
- name: Take a look around
|
||||||
|
run: |
|
||||||
|
echo "Current directory contents:"
|
||||||
|
pwd
|
||||||
|
echo "Listing files:"
|
||||||
|
ls -la
|
||||||
|
# - name: Login to Docker Hub
|
||||||
|
# run: |
|
||||||
|
# echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
|
# - name: Build and Push
|
||||||
|
# run: |
|
||||||
|
# docker build -t user/myimage:latest .
|
||||||
|
# docker push user/myimage:latest
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue