Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoch authored Oct 22, 2023
1 parent 322a123 commit 1ec000b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ec000b

Please sign in to comment.