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:
|
||||
push:
|
||||
branches:
|
||||
- test/pipelines
|
||||
env:
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
DOCKER_CONFIG: /data/.docker
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
|
|
@ -18,18 +12,12 @@ jobs:
|
|||
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: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
# - name: Build
|
||||
# run: docker build -t marshyon/yourimage:ci .
|
||||
# - name: Push
|
||||
# run: docker push marshyon/yourimage:ci
|
||||
|
||||
|
||||
|
||||
# - 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