Skip to content

Merge pull request #7 from rscampos/test_gh_action2 #2

Merge pull request #7 from rscampos/test_gh_action2

Merge pull request #7 from rscampos/test_gh_action2 #2

name: Test Docker Login Action
on:
push:
branches:
- main # Trigger the test on main branch pushes
jobs:
test-docker-login:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Test Docker Login
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Verify Docker Login
run: docker info