-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89fe88d
commit 462fba5
Showing
569 changed files
with
13,619 additions
and
12,681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 'Docker Setup' | ||
description: 'Set up Docker Buildx and log in to Docker Hub' | ||
inputs: | ||
docker_username: | ||
description: 'Docker Hub username' | ||
required: true | ||
docker_password: | ||
description: 'Docker Hub password' | ||
required: true | ||
github_token: | ||
description: 'GitHub token' | ||
required: true | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Log in to Docker Hub | ||
uses: docker/login-action@v3 | ||
with: | ||
username: ${{ inputs.docker_username }} | ||
password: ${{ inputs.docker_password }} | ||
|
||
# This will be used as a secret to authenticate with Git repo pulls | ||
- name: Create .netrc file | ||
run: | | ||
echo "machine github.com" > ${{ runner.temp }}/netrc | ||
echo "login x-access-token" >> ${{ runner.temp }}/netrc | ||
echo "password ${{ inputs.github_token }}" >> ${{ runner.temp }}/netrc | ||
shell: bash | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.