inftools-cn/.forgejo/workflows/build.yaml
Workflow config file is invalid. Please check your config file: yaml: line 1: did not find expected key
2025-11-29 15:44:07 +00:00

25 lines
663 B
YAML

on: [push]
branches:
- test/pipelines
jobs:
build:
runs-on: docker
steps:
- run: echo "building container..."
- name: Checkout code
uses: actions/checkout@v4
- 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