diff --git a/.github/workflows/bc-mariadb-docker-publish.yaml b/.github/workflows/bc-mariadb-docker-publish.yaml index 38ba352..a5bf703 100644 --- a/.github/workflows/bc-mariadb-docker-publish.yaml +++ b/.github/workflows/bc-mariadb-docker-publish.yaml @@ -1,24 +1,24 @@ name: Backup Container MariaDB - Docker Publish -on: +on: release: types: [published, edited] - + jobs: docker: runs-on: ubuntu-latest steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_LOGIN }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Docker meta id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: | @@ -33,7 +33,7 @@ jobs: type=semver,pattern={{major}} type=sha - name: Push to Docker Hub - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: tags: ${{ steps.meta.outputs.tags }} file: docker/Dockerfile_MariaDB diff --git a/.github/workflows/bc-mongo-docker-publish.yaml b/.github/workflows/bc-mongo-docker-publish.yaml index 1c5e9c5..5a309fa 100644 --- a/.github/workflows/bc-mongo-docker-publish.yaml +++ b/.github/workflows/bc-mongo-docker-publish.yaml @@ -1,24 +1,24 @@ name: Backup Container Mongo - Docker Publish -on: +on: release: types: [published, edited] - + jobs: docker: runs-on: ubuntu-latest steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_LOGIN }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Docker meta id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: | @@ -33,10 +33,9 @@ jobs: type=semver,pattern={{major}} type=sha - name: Push to Docker Hub - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: tags: ${{ steps.meta.outputs.tags }} file: docker/Dockerfile_Mongo context: docker push: true - \ No newline at end of file diff --git a/.github/workflows/bc-mssql-docker-publish.yaml b/.github/workflows/bc-mssql-docker-publish.yaml index 0722459..70c47d9 100644 --- a/.github/workflows/bc-mssql-docker-publish.yaml +++ b/.github/workflows/bc-mssql-docker-publish.yaml @@ -1,24 +1,24 @@ name: Backup Container MSSQL - Docker Publish -on: +on: release: types: [published, edited] - + jobs: docker: runs-on: ubuntu-latest steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_LOGIN }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Docker meta id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: | @@ -33,7 +33,7 @@ jobs: type=semver,pattern={{major}} type=sha - name: Push to Docker Hub - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: tags: ${{ steps.meta.outputs.tags }} file: docker/Dockerfile_MSSQL diff --git a/.github/workflows/bc-postgres-docker-publish.yaml b/.github/workflows/bc-postgres-docker-publish.yaml index 4a10bb8..eedce84 100644 --- a/.github/workflows/bc-postgres-docker-publish.yaml +++ b/.github/workflows/bc-postgres-docker-publish.yaml @@ -1,24 +1,24 @@ name: Backup Container Postgres - Docker Publish -on: +on: release: types: [published, edited] - + jobs: docker: runs-on: ubuntu-latest steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_LOGIN }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Docker meta id: meta - uses: crazy-max/ghaction-docker-meta@v2 + uses: docker/metadata-action@v4 with: # list of Docker images to use as base name for tags images: | @@ -33,7 +33,7 @@ jobs: type=semver,pattern={{major}} type=sha - name: Push to Docker Hub - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: tags: ${{ steps.meta.outputs.tags }} file: docker/Dockerfile