Skip to content

Commit

Permalink
Merge pull request #161 from L0RD-ZER0/feature/build
Browse files Browse the repository at this point in the history
Update actions used for building and pushing to latest
  • Loading branch information
L0RD-ZER0 committed Mar 11, 2024
2 parents afbb398 + 5f572e2 commit 66b1c78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: install docker emulation
run: docker run --rm --privileged tonistiigi/binfmt:latest --install amd64,arm64
- name: Set up buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Login to ghcr.io
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and push
run: |
docker buildx build --platform linux/amd64,linux/arm64 -t $(echo 'ghcr.io/${{ github.repository }}/slack-notify:${{ github.ref_name }}' | tr '[:upper:]' '[:lower:]') --push .
docker buildx build --platform linux/amd64,linux/arm64 -t $(echo 'ghcr.io/${{ github.repository }}:${{ github.ref_name }}' | tr '[:upper:]' '[:lower:]') --push .

0 comments on commit 66b1c78

Please sign in to comment.