From 1ec000b051e0043c030a0c4a4abcff02fb917d62 Mon Sep 17 00:00:00 2001 From: Vanessasaurus <814322+vsoch@users.noreply.github.com> Date: Sun, 22 Oct 2023 05:34:32 -0600 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ee10956..8216173 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,16 +9,18 @@ jobs: docker-deploy: runs-on: ubuntu-latest env: - CONTAINER: quay.io/vanessa/rse + CONTAINER: ghcr.io/rseng/rse steps: - uses: actions/checkout@v2 - name: Build Docker Image run: docker build -t "${CONTAINER}" . - - name: Log In to Quay.io - env: - DOCKER_USER: ${{ secrets.DOCKER_USER }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login quay.io -u ${{ secrets.DOCKER_USER }} --password-stdin + - name: GHCR Login + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Tag and Push images run: | DOCKER_TAG=$(docker run "${CONTAINER}:latest" --version)