-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Description
Since 2 weeks (around 2nd August as far as I can tell), my github actions using run-on-arch-action systematically rebuild the container when triggered.
- I have the instruction
githubToken: ${{ github.token }}
in my step - I have granted read and write permission in the workflow permission in the action settings for this repo.
- The action was running daily for a few month without rebuilding the package
I created a small action to test it and the install step is always run, and the sha256sum is different each time:
name: Check container build
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- qemu_arch: armv7
qemu_distro: ubuntu22.04
- qemu_arch: aarch64
qemu_distro: ubuntu22.04
steps:
- name : Step 1
uses: uraimo/run-on-arch-action@v.2.5.1
with:
arch: ${{ matrix.qemu_arch }}
distro: ${{ matrix.qemu_distro }}
githubToken: ${{ github.token }}
install: |
case "${{ matrix.qemu_arch }}" in
aarch64)
echo " aarch64";
echo "This is the install step";
;;
armv7)
echo " armv7";
echo "This is the install step";
;;
esac
run: |
echo "system installed : This is the run step"
I noticed in the log that a bunch of new messages appeared at the same time as this issue:
#0 building with "default" instance using docker driver
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile.aarch64.ubuntu22.04
#2 transferring dockerfile: 219B done
#2 DONE 0.0s
#3 [auth] arm64v8/ubuntu:pull token for registry-1.docker.io
#3 DONE 0.0s
#4 [internal] load metadata for docker.io/arm64v8/ubuntu:22.04
#4 DONE 0.3s
#5 importing cache manifest from ghcr.io/krakinou/runonarch/run-on-arch-krakinou-runonarch-check-container-build-aarch64-ubuntu22-04
#5 DONE 0.0s
#6 [internal] load build context
#6 transferring context: 284B done
#6 DONE 0.0s
Also a new version of the package with a different sha256sum is created each time.
Am I missing something or did something change?
rmartin16
Metadata
Metadata
Assignees
Labels
No labels