Skip to content

Commit

Permalink
ci(fix): fixed the github action to build and push at the same time
Browse files Browse the repository at this point in the history
  • Loading branch information
markbrown87 committed Dec 7, 2024
1 parent 45c7000 commit 6b4d8a0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-and-push-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Build Docker container
run: ./helper.sh docker-build docker.io/sololaboratories/dev-station:prototype

- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Push Docker container
run: ./helper.sh push-docker docker.io/sololaboratories/dev-station:prototype
- name: Build and Push Docker container
run: ./helper.sh docker-build docker.io/sololaboratories/dev-station:prototype &&./helper.sh push-docker docker.io/sololaboratories/dev-station:prototype

0 comments on commit 6b4d8a0

Please sign in to comment.