25 lines
669 B
YAML
25 lines
669 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
|
|
|