diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 757ec73..5d184b8 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -12,9 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: 'Get Previous tag' + - name: Log in to registry + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + + - name: Get Previous tag id: previoustag uses: "WyriHaximus/github-action-get-previous-tag@v1" with: @@ -22,7 +25,7 @@ jobs: - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and push id: docker_build