Skip to content

Commit

Permalink
fix: deploy development image on main merge (#52)
Browse files Browse the repository at this point in the history
* fix: deploy development image on main merge
  • Loading branch information
jpantos authored Jul 4, 2024
1 parent b4bddb1 commit 0b15cf5
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,25 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-v1.0-service-node-
- name: Login to Docker Hub
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: build-
pattern: build-*
path: dist
run-id: ${{ github.run_id }}

- name: Rename built artifacts
run: |
for file in dist/*.deb; do
mv "$file" "${file%.deb}-signed.deb"
done
- name: Login to Docker Hub
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push the images
run: |
docker buildx bake \
Expand Down

0 comments on commit 0b15cf5

Please sign in to comment.