Skip to content

Commit

Permalink
switch to github registry
Browse files Browse the repository at this point in the history
  • Loading branch information
pearj committed Dec 1, 2021
1 parent cbdc97e commit ef6e922
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ jobs:
env:
VERSION: ${{ steps.get_version.outputs.VERSION }}
with:
name: siemp/adcs-controller
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
name: pearj/adcs-issuer
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
buildargs: VERSION
tags: "latest,${{ env.VERSION }}"
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: siemp/adcs-controller
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
name: ghcr.io/pearj/adcs-issuer
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
buildargs: VERSION
tags: "latest,${{ env.VERSION }}"
tags: "latest,${{ env.VERSION }}"
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Build the manager binary
FROM golang:1.12.5 as builder

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y && apt clean

WORKDIR /workspace

#ENV http_proxy=http://defraprx-fihelprx.glb.nsn-net.net:8080
Expand Down

0 comments on commit ef6e922

Please sign in to comment.