inftools-cn/.forgejo/workflows/build.yaml
jon brookes 745e811d30
Some checks failed
/ build (push) Failing after 14s
test docker hub login
2025-11-29 15:52:24 +00:00

26 lines
664 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