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)