Skip to content

Commit

Permalink
ci: fixed CI export testing to see if this works
Browse files Browse the repository at this point in the history
  • Loading branch information
kevkevinpal committed Apr 26, 2023
1 parent e2166f5 commit 422e697
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: Generate Build Files
on:
push:
branches:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker build on push
name: Docker Build and Push to DockerHub
env:
DOCKER_CLI_EXPERIMENTAL: enabled

Expand Down Expand Up @@ -48,16 +48,14 @@ jobs:
echo ${{ env.RELEASE_TAG }}
- name: Run Docker buildx
run: |
export CI=true \
docker buildx build \
CI=true docker buildx build \
--cache-to "type=local,dest=/tmp/.buildx-cache" \
--platform linux/amd64 \
--tag "${{ secrets.DOCKER_HUB_USER }}/sphinx-nav-fiber:${{ env.RELEASE_TAG }}" \
--output "type=registry" ./
- name: Run Docker buildx with latest tag
run: |
export CI=true \
docker buildx build \
CI=true docker buildx build \
--cache-to "type=local,dest=/tmp/.buildx-cache" \
--platform linux/amd64 \
--tag "${{ secrets.DOCKER_HUB_USER }}/sphinx-nav-fiber:latest" \
Expand Down

0 comments on commit 422e697

Please sign in to comment.