diff --git a/.tangled/workflows/release.yml b/.tangled/workflows/release.yml index 684e0ce..cb46f0e 100644 --- a/.tangled/workflows/release.yml +++ b/.tangled/workflows/release.yml @@ -13,7 +13,7 @@ dependencies: - git - go #- goreleaser - - docker + - podman steps: - name: Fetch git tags @@ -28,32 +28,22 @@ steps: exit 1 fi echo "Found tag $TAG for commit $CURRENT_COMMIT" - echo "TAG=$TAG" >> $GITHUB_ENV || true git checkout $TAG - - name: Login to atcr.io - command: docker login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD} - - name: Build AppView Docker image command: | TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1) - docker build -f Dockerfile.appview -t atcr.io/evan.jarrett.net/atcr-appview:${TAG} . + podman login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD} + podman build -f Dockerfile.appview -t atcr.io/evan.jarrett.net/atcr-appview:${TAG} . + podman push atcr.io/evan.jarrett.net/atcr-appview:${TAG} - name: Build Hold Docker image command: | TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1) - docker build -f Dockerfile.hold -t atcr.io/evan.jarrett.net/atcr-hold:${TAG} . - - - name: Push AppView Docker image - command: | - TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1) - docker push atcr.io/evan.jarrett.net/atcr-appview:${TAG} - - - name: Push Hold Docker image - command: | - TAG=$(git describe --tags --exact-match 2>/dev/null || git tag --points-at HEAD | head -n1) - docker push atcr.io/evan.jarrett.net/atcr-hold:${TAG} - + podman login atcr.io -u evan.jarrett.net -p ${APP_PASSWORD} + podman build -f Dockerfile.hold -t atcr.io/evan.jarrett.net/atcr-hold:${TAG} . + podman push atcr.io/evan.jarrett.net/atcr-hold:${TAG} + # disable for now # - name: Tidy Go modules # command: go mod tidy