Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login to Docker Hub before pulling images #218

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install --upgrade --requirement requirements-test.txt
# We are less likely to hit rate limiting if we log into Docker
# Hub before pulling images.
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKER_USERNAME }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down
4 changes: 2 additions & 2 deletions molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
- name: Converge
hosts: all
tasks:
- name: Include skeleton-ansible-role
- name: Include cisagov/skeleton-ansible-role
ansible.builtin.include_role:
name: skeleton-ansible-role
name: skeleton
2 changes: 2 additions & 0 deletions molecule/default/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ collections:
version: ">=3.10.2"

roles:
- name: skeleton
src: https://github.com/cisagov/skeleton-ansible-role
- name: upgrade
src: https://github.com/cisagov/ansible-role-upgrade
8 changes: 3 additions & 5 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ ansible>=10,<11
# requirements.txt in cisagov/skeleton-packer and
# .pre-commit-config.yaml in cisagov/skeleton-generic.
ansible-core>=2.17
# With the release of molecule v5 there were some breaking changes so
# we need to pin at v5 or newer. However, v5.0.0 had an internal
# dependency issue so we must use the bugfix release as the actual
# lower bound.
molecule>=5.0.1
# With the release of molecule v25.2 the role being tested must be
# specified in requirements.yml.
molecule>=25.2.0
molecule-plugins[docker]
pre-commit
# pytest-testinfra 10.1.1 contains a fix for SystemdService.exists
Expand Down
Loading