Skip to content

Commit

Permalink
change to env
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Jan 22, 2024
1 parent f29a506 commit 1e390a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker-nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
with:
context: .
push: true
tags: "${{ secrets.DOCKER_USERNAME }}/skypilot-nightly:latest,${{ secrets.DOCKER_USERNAME }}/skypilot-nightly:$LATEST_VERSION"
tags: "$DOCKER_USERNAME/skypilot-nightly:latest,$DOCKER_USERNAME/skypilot-nightly:$LATEST_VERSION"
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 1e390a3

Please sign in to comment.