Skip to content

Commit

Permalink
Renamed docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
freyamade committed Jan 20, 2022
1 parent 762ea43 commit f16dcd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file deployment/Dockerfile -t docker.pkg.github.com/freyamade/savage-aim/backend:latest -t docker.pkg.github.com/freyamade/savage-aim/backend:$(echo "$GITHUB_REF" | sed 's/refs\/tags\///')
run: docker build . --file deployment/Dockerfile -t docker.pkg.github.com/savage-aim/app/backend:latest -t docker.pkg.github.com/savage-aim/app/backend:$(echo "$GITHUB_REF" | sed 's/refs\/tags\///')
- name: Login to GitHub Docker Registry
run: docker login docker.pkg.github.com -u freyamade -p ${{ secrets.GITHUB_TOKEN }}
- name: Push the Docker image
run: docker push --all-tags docker.pkg.github.com/freyamade/savage-aim/backend
run: docker push --all-tags docker.pkg.github.com/savage-aim/app/backend

build-frontend:
runs-on: ubuntu-latest
Expand All @@ -30,8 +30,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file deployment/Dockerfile --tag docker.pkg.github.com/freyamade/savage-aim/frontend:latest -t docker.pkg.github.com/freyamade/savage-aim/frontend:$(echo "$GITHUB_REF" | sed 's/refs\/tags\///')
run: docker build . --file deployment/Dockerfile --tag docker.pkg.github.com/savage-aim/app/frontend:latest -t docker.pkg.github.com/savage-aim/app/frontend:$(echo "$GITHUB_REF" | sed 's/refs\/tags\///')
- name: Login to GitHub Docker Registry
run: docker login docker.pkg.github.com -u freyamade -p ${{ secrets.GITHUB_TOKEN }}
- name: Push the Docker image
run: docker push --all-tags docker.pkg.github.com/freyamade/savage-aim/frontend
run: docker push --all-tags docker.pkg.github.com/savage-aim/app/frontend

0 comments on commit f16dcd0

Please sign in to comment.