diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-17 01:33:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-17 01:33:20 -0500 |
| commit | 30cf5d39306290d783ab1739aaac369fec69f51d (patch) | |
| tree | c2ef615697c2dcceb15712a2bfccfa99f7df1e07 /.github | |
| parent | e4fcb327ce6e7a0bf9f5b7560af5e611a1d48d12 (diff) | |
| download | DLAP-30cf5d39306290d783ab1739aaac369fec69f51d.tar.gz DLAP-30cf5d39306290d783ab1739aaac369fec69f51d.tar.bz2 DLAP-30cf5d39306290d783ab1739aaac369fec69f51d.zip | |
Update docker-image.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/docker-image.yml | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c26a12b..f6c074c 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -3,16 +3,21 @@ name: Docker Image CI on: push: branches: [ "stable" ] - pull_request: - branches: [ "stable" ] jobs: - - build: - + deploy: runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Build the Docker image - run: docker build . --file Dockerfile --tag dlap:$(date +%s) + # No changes + + - name: Login to Docker Hub + 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: + push: true + tags: alee14498/dlap:latest |
