Compare commits
8 commits
main
...
test/pipel
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ad38b938f | ||
|
|
072082e985 | ||
|
|
c863e64c8e | ||
|
|
ec7949fe21 | ||
|
|
8afb850a1a | ||
|
|
745e811d30 | ||
|
|
bba2ef705b | ||
|
|
b53194b1f8 |
1 changed files with 20 additions and 8 deletions
|
|
@ -1,4 +1,10 @@
|
|||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- test/pipelines
|
||||
env:
|
||||
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||
DOCKER_CONFIG: /data/.docker
|
||||
jobs:
|
||||
build:
|
||||
runs-on: docker
|
||||
|
|
@ -12,12 +18,18 @@ 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: Build and Push
|
||||
# run: |
|
||||
# docker build -t user/myimage:latest .
|
||||
# docker push user/myimage:latest
|
||||
- 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue