From de872fe83acb3d9167edf7d4ebcbf71553b4f68f Mon Sep 17 00:00:00 2001 From: Seth Simmons Date: Wed, 24 Mar 2021 12:00:03 -0400 Subject: [PATCH] Remove path context and QEMU setup --- .github/workflows/update-base-image.yml | 7 ------- .github/workflows/update-image-on-push.yml | 9 +-------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/update-base-image.yml b/.github/workflows/update-base-image.yml index c50a9a5..d0501eb 100644 --- a/.github/workflows/update-base-image.yml +++ b/.github/workflows/update-base-image.yml @@ -8,9 +8,6 @@ jobs: name: "Rebuild Container with the latest base image" runs-on: ubuntu-latest steps: - - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -31,15 +28,11 @@ jobs: name: "Get Monero Release Tag" id: get_tag run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)" - - - name: "Echo Monero Release Tag" - run: echo "$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)" - name: Build and push to Docker Hub and Github Packages Docker Registry id: docker_build uses: docker/build-push-action@v2 with: - context: . push: true tags: | ghcr.io/sethsimmons/simple-monerod-docker/simple-monerod:latest diff --git a/.github/workflows/update-image-on-push.yml b/.github/workflows/update-image-on-push.yml index 1e04094..e1f2845 100644 --- a/.github/workflows/update-image-on-push.yml +++ b/.github/workflows/update-image-on-push.yml @@ -9,9 +9,6 @@ jobs: name: "Rebuild Container with the latest base image" runs-on: ubuntu-latest steps: - - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -31,16 +28,12 @@ jobs: - name: "Get Monero Release Tag" id: get_tag - run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)" - - - name: "Echo Monero Release Tag" - run: echo "$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' Dockerfile)" + run: echo "::set-output name=tag::$(awk -F "=" '/MONERO_BRANCH=/ {print $2}' ./Dockerfile)" - name: Build and push to Docker Hub and Github Packages Docker Registry id: docker_build uses: docker/build-push-action@v2 with: - context: . push: true tags: | ghcr.io/sethsimmons/simple-monerod-docker/simple-monerod:latest