Skip to content

Commit

Permalink
Drop s390x and bump image-build-base
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
brandond committed Dec 8, 2023
1 parent b37d3da commit 94faaf7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 57 deletions.
57 changes: 6 additions & 51 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ platform:
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- make DRONE_TAG=${DRONE_TAG}
volumes:
- name: docker
path: /var/run/docker.sock

- name: publish
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push
Expand All @@ -34,7 +34,7 @@ steps:
- tag

- name: scan
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan
volumes:
Expand All @@ -57,15 +57,15 @@ platform:
steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- make DRONE_TAG=${DRONE_TAG}
volumes:
- name: docker
path: /var/run/docker.sock

- name: publish
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push
Expand All @@ -82,57 +82,13 @@ steps:
- tag

- name: scan
image: rancher/hardened-build-base:v1.20.7b3
image: rancher/hardened-build-base:v1.20.12b2
commands:
- make DRONE_TAG=${DRONE_TAG} image-scan
volumes:
- name: docker
path: /var/run/docker.sock

volumes:
- name: docker
host:
path: /var/run/docker.sock
---
kind: pipeline
name: linux-s390x

platform:
os: linux
arch: amd64

node:
arch: s390x

steps:
- name: build
pull: always
image: rancher/hardened-build-base:v1.20.7b3
failure: ignore
commands:
- make DRONE_TAG=${DRONE_TAG}
volumes:
- name: docker
path: /var/run/docker.sock

- name: publish
image: rancher/hardened-build-base:v1.20.7b3
failure: ignore
commands:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- make DRONE_TAG=${DRONE_TAG} image-push
environment:
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
volumes:
- name: docker
path: /var/run/docker.sock
when:
event:
- tag

volumes:
- name: docker
host:
Expand Down Expand Up @@ -160,5 +116,4 @@ steps:
depends_on:
- linux-amd64
- linux-arm64
- linux-s390x
...
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BCI_IMAGE=registry.suse.com/bci/bci-base
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.7b3
ARG GO_IMAGE=rancher/hardened-build-base:v1.20.12b2
FROM ${BCI_IMAGE} as bci
FROM ${GO_IMAGE} as builder
# setup required packages
Expand Down
5 changes: 0 additions & 5 deletions manifest.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,3 @@ manifests:
platform:
architecture: arm64
os: linux
-
image: rancher/hardened-runc:{{build.tag}}-s390x
platform:
architecture: s390x
os: linux

0 comments on commit 94faaf7

Please sign in to comment.