-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* try different docker setup * action * add login * add full * update action * cleanup upload script * cleanup upload script * tweak action * tweak action * tweak action * tweak action * tweak action * tweak action
- Loading branch information
1 parent
8bd0960
commit 272b358
Showing
10 changed files
with
86 additions
and
93 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,17 @@ | ||
name: 'Login Docker' | ||
description: 'Sets up Docker for running R2R' | ||
inputs: | ||
docker_username: | ||
description: 'Docker Hub username' | ||
required: true | ||
docker_password: | ||
description: 'Docker Hub password or token' | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ inputs.docker_username }} | ||
password: ${{ inputs.docker_password }} |
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 |
---|---|---|
@@ -1,41 +1,13 @@ | ||
name: 'Setup Docker' | ||
description: 'Sets up Docker for running R2R' | ||
inputs: | ||
os: | ||
description: 'Operating system' | ||
required: true | ||
docker_username: | ||
description: 'Docker Hub username' | ||
required: true | ||
docker_password: | ||
description: 'Docker Hub password or token' | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up Docker (Ubuntu) | ||
if: inputs.os == 'ubuntu-latest' | ||
- name: Set up Docker | ||
uses: docker-practice/actions-setup-docker@master | ||
with: | ||
docker_version: 20.10 | ||
docker_buildx: true | ||
|
||
- name: Set up Docker (Windows) | ||
if: inputs.os == 'macos-latest' | ||
uses: docker-practice/actions-setup-docker@master | ||
with: | ||
docker_version: 20.10 | ||
docker_buildx: true | ||
|
||
- name: Set up Docker (Windows) | ||
if: inputs.os == 'windows-latest' | ||
uses: docker-practice/actions-setup-docker@master | ||
with: | ||
docker_version: 20.10 | ||
docker_buildx: true | ||
|
||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ inputs.docker_username }} | ||
password: ${{ inputs.docker_password }} | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 |
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
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
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
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
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
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
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
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