Skip to content

Commit

Permalink
fix: fixed workflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
ttionya committed May 7, 2024
1 parent fa1ed85 commit e9bed34
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,27 @@ jobs:
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build Docker Image for Test
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: '.'
file: './Dockerfile'
platforms: 'linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7'
tags: ttionya/vaultwarden-backup:base
push: true
tags: ttionya/vaultwarden-backup:dev
-
name: Build Test Docker Image
name: Build test Docker image
uses: docker/build-push-action@v5
with:
context: '.'
file: './tests/Dockerfile'
platforms: 'linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7'
tags: ttionya/vaultwarden-backup:test
load: true
-
name: Test
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ttionya/vaultwarden-backup:base
FROM ttionya/vaultwarden-backup:dev

ENTRYPOINT ["/app/entrypoint.sh"]

0 comments on commit e9bed34

Please sign in to comment.