diff --git a/.github/workflows/build-docker-image.yaml b/.github/workflows/build-docker-image.yaml index 448d95d..130d1e9 100644 --- a/.github/workflows/build-docker-image.yaml +++ b/.github/workflows/build-docker-image.yaml @@ -14,7 +14,7 @@ jobs: environment: production runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login Registry uses: docker/login-action@v3 with: @@ -28,14 +28,14 @@ jobs: push: true context: . file: ./docker/golang.Dockerfile - tags: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest-amd, ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:${{ github.ref_name }}-amd + tags: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest,${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest-amd, ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:${{ github.ref_name }}-amd build-and-push-arm: if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' environment: production runs-on: [ARM64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login Registry uses: docker/login-action@v3 with: @@ -49,28 +49,4 @@ jobs: push: true context: . file: ./docker/golang.Dockerfile - tags: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest-arm, ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:${{ github.ref_name }}-arm - - create-manifest: - needs: - - build-and-push-amd - - build-and-push-arm - runs-on: ubuntu-latest - steps: - - name: Login Registry - uses: docker/login-action@v3 - with: - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_PASSWORD }} - - name: Create and push manifest images latest - uses: Noelware/docker-manifest-action@master - with: - inputs: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest - images: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest-arm,${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest-amd - push: true - - name: Create and push manifest versioned images - uses: Noelware/docker-manifest-action@master - with: - inputs: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:${{ github.ref_name }} - images: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:${{ github.ref_name }}-arm,${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:${{ github.ref_name }}-amd - push: true \ No newline at end of file + tags: ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:latest-arm, ${{ secrets.REGISTRY_USERNAME }}/go-whatsapp-web-multidevice:${{ github.ref_name }}-arm \ No newline at end of file diff --git a/.github/workflows/deploy-linux.yml b/.github/workflows/deploy-linux.yml index f7f42af..3adbda3 100644 --- a/.github/workflows/deploy-linux.yml +++ b/.github/workflows/deploy-linux.yml @@ -14,13 +14,13 @@ jobs: runs-on: ubuntu-latest environment: production steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Ubuntu update package run: | sudo apt update -y sudo apt install libvips-dev - name: Golang Installation - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.21' - name: Golang setup dependency diff --git a/.github/workflows/deploy-mac.yml b/.github/workflows/deploy-mac.yml index ab47cfa..ad72919 100644 --- a/.github/workflows/deploy-mac.yml +++ b/.github/workflows/deploy-mac.yml @@ -14,12 +14,12 @@ jobs: runs-on: macos-latest environment: production steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install libvips run: | brew install vips - name: Golang Installation - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.21' - name: Golang setup dependency diff --git a/.github/workflows/deploy-windows.yml b/.github/workflows/deploy-windows.yml index 305783f..d082677 100644 --- a/.github/workflows/deploy-windows.yml +++ b/.github/workflows/deploy-windows.yml @@ -14,7 +14,7 @@ jobs: runs-on: windows-latest environment: production steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install pkgconfig uses: crazy-max/ghaction-chocolatey@v3 with: @@ -32,7 +32,7 @@ jobs: Copy-Item -Path ${{ github.workspace }}\vips-dev-8.12\bin\* -Destination C:/Strawberry/c/bin -force -recurse Copy-Item -Path ${{ github.workspace }}\vips-dev-8.12\include\* -Destination C:/Strawberry/c/include -force -recurse - name: Golang Installation - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: '1.21' - name: Golang setup dependency