diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml index 56be859..6f9f84b 100644 --- a/.github/workflows/build-push-docker.yml +++ b/.github/workflows/build-push-docker.yml @@ -60,17 +60,17 @@ jobs: # optional, default is true logout: true -# - name: Docker Tags GENERATE Uniformly - [ BASE ] -# id: docker_tags_base # you'll use this in the next step -# uses: docker/metadata-action@v4.1.1 -# with: -# # list of Docker images to use as base name for tags -# images: | -# ${{ secrets.DOCKERHUB_USERNAME }}/eclipse-temurin-11-jre-focal -# # Docker tags based on the following events/attributes -# tags: | -# latest -# {{date 'YYYY-MM-DD-HH-mm'}} + - name: Docker Tags GENERATE Uniformly - [ BASE ] + id: docker_tags_base # you'll use this in the next step + uses: docker/metadata-action@v4.1.1 + with: + # list of Docker images to use as base name for tags + images: | + ${{ secrets.DOCKERHUB_USERNAME }}/eclipse-temurin-11-jre-focal + # Docker tags based on the following events/attributes + tags: | + latest + {{date 'YYYY-MM-DD-HH-mm'}} - name: Docker Tags GENERATE Uniformly - [ SERVER ] id: docker_tags_server # you'll use this in the next step @@ -96,15 +96,15 @@ jobs: latest {{date 'YYYY-MM-DD-HH-mm'}} - - name: Build My Base Image - uses: docker/build-push-action@v3.2.0 - with: - context: ./ - # Path to the Dockerfile - file: ./source/src/main/java/io/wdd/source/build-my-own-base-image.dockerfile - platforms: linux/amd64,linux/arm64 - push: true - tags: ${{ steps.docker_tags_base.outputs.tags }} +# - name: Build My Base Image +# uses: docker/build-push-action@v3.2.0 +# with: +# context: ./ +# # Path to the Dockerfile +# file: ./source/src/main/java/io/wdd/source/build-my-own-base-image.dockerfile +# platforms: linux/amd64,linux/arm64 +# push: true +# tags: ${{ steps.docker_tags_base.outputs.tags }} - name: Maven package project run: |