Skip to content

Commit cc22e5a

Browse files
committed
Update CI/CD
1 parent de499f8 commit cc22e5a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Login to Docker Hub
14-
- uses: docker/login-action@v3
15-
- with:
14+
uses: docker/login-action@v3
15+
with:
1616
username: ${{ secrets.DOCKERHUB_USERNAME }}
1717
password: ${{ secrets.DOCKERHUB_TOKEN }}
1818

1919
- name: Set up Docker Buildx
20-
- uses: docker/setup-buildx-action@v3
20+
uses: docker/setup-buildx-action@v3
2121

22-
- uses: actions/checkout@v4
23-
- name: Build the Docker image
24-
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
25-
2622
- name: Build and push
2723
uses: docker/build-push-action@v6
2824
with:

0 commit comments

Comments
 (0)