This commit is contained in:
Jacob Payne 2023-03-21 10:42:20 -07:00
parent ccd6340b00
commit b783c23bc6
2 changed files with 6 additions and 3 deletions

View File

@ -12,8 +12,11 @@ jobs:
- uses: earthly/actions-setup@v1
with:
version: v0.7.*
- name: docker login
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
fetch-depth: 0

View File

@ -3,7 +3,7 @@ VERSION 0.7
ARG --global GOLANG_VERSION=1.19.7
ARG --global AMTRPC_VERSION=v2.6.0
ARG --global GOLINT_VERSION=v1.51.2
ARG --global IMAGE_REPOSITORY=quay.io/kairos-io/provider-amt
ARG --global IMAGE_REPOSITORY=ghcr.io/kairos-io/provider-amt
builder:
FROM golang:$GOLANG_VERSION