ci: login to dockerhub

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-03-12 16:42:17 -08:00
parent 9887166c71
commit e7ecc87631
2 changed files with 14 additions and 3 deletions

View File

@ -11,15 +11,26 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Unlock secrets
uses: sliteteam/github-action-git-crypt-unlock@1.2.0
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Check out
uses: actions/checkout@v2
- name: Install Dependencies
run: |
sudo apt-get update

Binary file not shown.