Compare commits
No commits in common. "test/pipelines" and "main" have entirely different histories.
test/pipel
...
main
1 changed files with 8 additions and 20 deletions
|
|
@ -1,10 +1,4 @@
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- test/pipelines
|
|
||||||
env:
|
|
||||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
|
||||||
DOCKER_CONFIG: /data/.docker
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
@ -18,18 +12,12 @@ jobs:
|
||||||
pwd
|
pwd
|
||||||
echo "Listing files:"
|
echo "Listing files:"
|
||||||
ls -la
|
ls -la
|
||||||
|
# - name: Login to Docker Hub
|
||||||
|
# run: |
|
||||||
|
# echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
# - name: Build and Push
|
||||||
uses: docker/login-action@v3
|
# run: |
|
||||||
with:
|
# docker build -t user/myimage:latest .
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
# docker push user/myimage:latest
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
# - name: Build
|
|
||||||
# run: docker build -t marshyon/yourimage:ci .
|
|
||||||
# - name: Push
|
|
||||||
# run: docker push marshyon/yourimage:ci
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue